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

Unified Diff: chrome/browser/extensions/api/declarative/rules_cache_delegate.h

Issue 535203003: Replace Profile* in declarative_api with BrowserContext* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove changes to unit-test; those have to wait until move. Created 6 years, 3 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/api/declarative/rules_cache_delegate.h
diff --git a/chrome/browser/extensions/api/declarative/rules_cache_delegate.h b/chrome/browser/extensions/api/declarative/rules_cache_delegate.h
index f8bc312ac49d9bfc1bad10249332441c84eeda80..89bc33ff935405da69801e1f530352fc0a2a7de4 100644
--- a/chrome/browser/extensions/api/declarative/rules_cache_delegate.h
+++ b/chrome/browser/extensions/api/declarative/rules_cache_delegate.h
@@ -12,7 +12,9 @@
#include "base/values.h"
#include "content/public/browser/browser_thread.h"
-class Profile;
+namespace content {
+class BrowserContext;
+}
namespace extensions {
@@ -76,7 +78,7 @@ class RulesCacheDelegate {
void SetDeclarativeRulesStored(const std::string& extension_id,
bool rules_stored);
- Profile* profile_;
+ content::BrowserContext* browser_context_;
// The key under which rules are stored.
std::string storage_key_;

Powered by Google App Engine
This is Rietveld 408576698