Index: chrome/browser/extensions/api/preference/preference_api.h |
diff --git a/chrome/browser/extensions/api/preference/preference_api.h b/chrome/browser/extensions/api/preference/preference_api.h |
index 313fdc2281dee8ea18044d494c8b47f99d5559f5..0a5f58392f7e939b084a3cc57bf208314221ea59 100644 |
--- a/chrome/browser/extensions/api/preference/preference_api.h |
+++ b/chrome/browser/extensions/api/preference/preference_api.h |
@@ -93,7 +93,7 @@ class PreferenceAPI : public PreferenceAPIBase, |
public EventRouter::Observer, |
public ContentSettingsStore::Observer { |
public: |
- explicit PreferenceAPI(Profile* profile); |
+ explicit PreferenceAPI(content::BrowserContext* context); |
virtual ~PreferenceAPI(); |
// BrowserContextKeyedService implementation. |
@@ -103,7 +103,7 @@ class PreferenceAPI : public PreferenceAPIBase, |
static ProfileKeyedAPIFactory<PreferenceAPI>* GetFactoryInstance(); |
// Convenience method to get the PreferenceAPI for a profile. |
- static PreferenceAPI* Get(Profile* profile); |
+ static PreferenceAPI* Get(content::BrowserContext* context); |
// EventRouter::Observer implementation. |
virtual void OnListenerAdded(const EventListenerInfo& details) OVERRIDE; |