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

Unified Diff: content/browser/appcache/chrome_appcache_service.cc

Issue 9425026: Remove getters for HTML5 related objects from the ResourceContext interface. Half of them weren't u… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix race condition Created 8 years, 10 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
Index: content/browser/appcache/chrome_appcache_service.cc
===================================================================
--- content/browser/appcache/chrome_appcache_service.cc (revision 122771)
+++ content/browser/appcache/chrome_appcache_service.cc (working copy)
@@ -9,6 +9,7 @@
#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_types.h"
+#include "content/public/browser/resource_context.h"
#include "net/base/net_errors.h"
#include "webkit/quota/quota_manager.h"
@@ -28,6 +29,7 @@
cache_path_ = cache_path;
resource_context_ = resource_context;
+ set_request_context(resource_context->GetRequestContext());
registrar_.Add(
this, content::NOTIFICATION_PURGE_MEMORY,
content::NotificationService::AllSources());

Powered by Google App Engine
This is Rietveld 408576698