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

Unified Diff: chrome/browser/extensions/data_deleter.h

Issue 10878041: Remove silly uses of ResourceContext that unnecessarily violate the Law of Demeter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix 80-cols Created 8 years, 4 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: chrome/browser/extensions/data_deleter.h
diff --git a/chrome/browser/extensions/data_deleter.h b/chrome/browser/extensions/data_deleter.h
index a0787957a1800256d455520e87e48a05ea88511e..6a87c3c234aba6f6d7d728fd4cd6916faa856c1b 100644
--- a/chrome/browser/extensions/data_deleter.h
+++ b/chrome/browser/extensions/data_deleter.h
@@ -12,10 +12,13 @@
#include "content/public/browser/browser_thread.h"
#include "googleurl/src/gurl.h"
+namespace appcache {
+class AppCacheService;
+}
+
namespace content {
class DOMStorageContext;
class IndexedDBContext;
-class ResourceContext;
}
namespace fileapi {
@@ -80,7 +83,7 @@ class DataDeleter : public base::RefCountedThreadSafe<
// Deletes appcache files for the extension. May only be called on the IO
// thread.
- void DeleteAppcachesOnIOThread(content::ResourceContext* resource_context);
+ void DeleteAppcachesOnIOThread(appcache::AppCacheService* appcache_service);
// The ID of the extension being deleted.
const std::string extension_id_;
« no previous file with comments | « chrome/browser/browsing_data/browsing_data_appcache_helper.cc ('k') | chrome/browser/extensions/data_deleter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698