Bug 107166 - Each NetworkConnectionToWebProcess should keep its own map of NetworkResourceLoaders
Summary: Each NetworkConnectionToWebProcess should keep its own map of NetworkResource...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac All
: P2 Normal
Assignee: Brady Eidson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-17 13:19 PST by Brady Eidson
Modified: 2013-01-17 13:57 PST (History)
2 users (show)

See Also:


Attachments
Patch v1 (14.13 KB, patch)
2013-01-17 13:23 PST, Brady Eidson
ap: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brady Eidson 2013-01-17 13:19:04 PST
Each NetworkConnectionToWebProcess should keep its own set of NetworkResourceLoaders

Currently the NetworkResourceLoadScheduler keeps this identifier -> loader map, but the only client of this map is the NetworkConnectionToWebProcess.

By moving the map to the NetworkConnectionToWebProcess the ownership is much more clear and we can also get rid of the ridiculous NetworkConnectionToWebProcessObserver interface.
Comment 1 Brady Eidson 2013-01-17 13:23:16 PST
Created attachment 183257 [details]
Patch v1
Comment 2 Brady Eidson 2013-01-17 13:57:20 PST
http://trac.webkit.org/changeset/140038