DescriptionFix up ordering in ProfileIOData.
It's important to destroy the ResourceContext before we start destroying the URLRequestContext and the members it owns, because destroying the ResourceContext will cancel the pending URLRequests for that ResourceContext in the ResourceDispatcherHost. Those URLRequests may reference the URLRequestContexts in their destructors, so we need to make sure ResourceContext is destroyed first.
While doing this, I did some other cleanup:
* discovered that we could eliminate HostContentSettingsMap from ProfileIOData, w00t!
* reordered URLRequestContext after the members it points to, so it gets destroyed before they get destroyed
* moved the virtuals in ProfileIOData::ResourceContext to be public, since the parent class changed them to be public
BUG=90971
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133793
Patch Set 1 #Patch Set 2 : Merge #
Messages
Total messages: 5 (0 generated)
|