SafeBrowsingResourceHandler may be even closer to what you want. On Fri, Oct 23, 2009 at 1:35 PM, John Abd-El-Malek <[email protected]> wrote:
> Check out BufferedResourceHandler, it pauses requests until plugins are > loaded (needed to know which mime types are available). > > On Fri, Oct 23, 2009 at 1:23 PM, Paweł Hajdan Jr. <[email protected] > > wrote: > >> I'm going to use PauseRequest for privacy blacklists. It seems that I >> should create a new ResourceHandler, and resource handlers seem to wrap >> another resource handlers. Then I'd have to add code to use the new >> ResourceHandler in ResourceDispatcherHost. >> >> I'd need to write a ResourceHandler which would pause any requests until >> the BlacklistManager has loaded its blacklist (I can get a notification for >> that, this is the easy part). After receiving the notification, I'd un-pause >> all pending requests. What's a good way to do that (writing such >> ResourceHandler)? >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
