On Tue, Dec 1, 2009 at 09:09, Darin Fisher <[email protected]> wrote:
> It might help the discussion if you could toss out a proposal for what you > think might work. > My initial idea is an object (ResourceQueue? ResourceWaitQueue?) that the RDH will ask before starting an URLRequest (similar to how it currently asks UserScriptListener). If the new object says "yes", RDH will start the request immediately. Otherwise the queue object will wait until all interested parties are ready and then start the request (and probably notify RDH, similarly to UserScriptListener). The queue object will know what to wait for and which objects to ask (for example, BlacklistManager object and BLACKLIST_MANAGER_BLACKLIST_READ_FINISHED notification on the IO thread). Two main problems I currently see: - does it generally make sense? - I don't quite like the names. The object I'm talking about isn't really a queue (there is no order). It just manager waiting for parties interested in resource requests. If you have a better idea for the name, that would be great. -- Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
