DescriptionFix appcache_service and request_context referencing.
There is one appcache service per profile and several request context per profile. The profile holds a reference to the appcache service. Those request contexts which are subject to retrieval from appcaches hold a reference to the appcache service too. The appcache service is provided with a pointer back to the 'main' request context, this context is used when updating appcaches.
Initialization is a little tricky because profiles can't be used on the IO thread and request contexts can't be used on the UI thread.
BUG=22597, 22125
TEST=many existing tests exercise profile/context creation
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26844
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #Patch Set 4 : '' #Patch Set 5 : '' #
Total comments: 3
Patch Set 6 : '' #
Total comments: 30
Patch Set 7 : '' #
Total comments: 1
Patch Set 8 : '' #
Total comments: 1
Messages
Total messages: 21 (0 generated)
|