Index: chrome/browser/extensions/api/declarative/rules_registry_service.h |
diff --git a/chrome/browser/extensions/api/declarative/rules_registry_service.h b/chrome/browser/extensions/api/declarative/rules_registry_service.h |
index 8ea722c6a088b1aeb50c7a26c7dc846ce8c8a989..401d180dc5137cdf91d4cc5025a9147aa41e571e 100644 |
--- a/chrome/browser/extensions/api/declarative/rules_registry_service.h |
+++ b/chrome/browser/extensions/api/declarative/rules_registry_service.h |
@@ -14,14 +14,11 @@ |
#include "base/memory/scoped_vector.h" |
#include "base/scoped_observer.h" |
#include "chrome/browser/extensions/api/declarative/rules_registry.h" |
-#include "chrome/browser/profiles/profile.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
#include "extensions/browser/browser_context_keyed_api_factory.h" |
#include "extensions/browser/extension_registry_observer.h" |
-class Profile; |
- |
namespace content { |
class BrowserContext; |
class NotificationSource; |
@@ -68,7 +65,7 @@ class RulesRegistryService : public BrowserContextKeyedAPI, |
static BrowserContextKeyedAPIFactory<RulesRegistryService>* |
GetFactoryInstance(); |
- // Convenience method to get the RulesRegistryService for a profile. |
+ // Convenience method to get the RulesRegistryService for a context. |
static RulesRegistryService* Get(content::BrowserContext* context); |
// Registers the default RulesRegistries used in Chromium. |
@@ -151,7 +148,7 @@ class RulesRegistryService : public BrowserContextKeyedAPI, |
ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver> |
extension_registry_observer_; |
- Profile* profile_; |
+ content::BrowserContext* browser_context_; |
DISALLOW_COPY_AND_ASSIGN(RulesRegistryService); |
}; |