Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1083)

Unified Diff: content/public/browser/resource_context.h

Issue 9836066: Have content cancel requests for ResourceContexts when they shutdown, instead of depending on the e… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/browser/resource_dispatcher_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/resource_context.h
===================================================================
--- content/public/browser/resource_context.h (revision 128565)
+++ content/public/browser/resource_context.h (working copy)
@@ -23,13 +23,13 @@
// ResourceContext contains the relevant context information required for
// resource loading. It lives on the IO thread, although it is constructed on
-// the UI thread.
+// the UI thread. It must be destructed on the IO thread.
class CONTENT_EXPORT ResourceContext : public base::SupportsUserData {
public:
static appcache::AppCacheService* GetAppCacheService(
ResourceContext* resource_context);
- virtual ~ResourceContext() {}
+ virtual ~ResourceContext();
virtual net::HostResolver* GetHostResolver() = 0;
virtual net::URLRequestContext* GetRequestContext() = 0;
virtual MediaObserver* GetMediaObserver() = 0;
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/browser/resource_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698