Index: chrome/browser/extensions/api/web_navigation/web_navigation_api.h |
diff --git a/chrome/browser/extensions/api/web_navigation/web_navigation_api.h b/chrome/browser/extensions/api/web_navigation/web_navigation_api.h |
index b445c342ee0e321e06e1373c4cd522984f1b4d2c..9241a1a9e71cb063c06b3e6adad8bd2e9438ae34 100644 |
--- a/chrome/browser/extensions/api/web_navigation/web_navigation_api.h |
+++ b/chrome/browser/extensions/api/web_navigation/web_navigation_api.h |
@@ -226,7 +226,7 @@ class WebNavigationGetAllFramesFunction : public ChromeSyncExtensionFunction { |
class WebNavigationAPI : public ProfileKeyedAPI, |
public extensions::EventRouter::Observer { |
public: |
- explicit WebNavigationAPI(Profile* profile); |
+ explicit WebNavigationAPI(content::BrowserContext* context); |
virtual ~WebNavigationAPI(); |
// BrowserContextKeyedService implementation. |
@@ -242,7 +242,7 @@ class WebNavigationAPI : public ProfileKeyedAPI, |
private: |
friend class ProfileKeyedAPIFactory<WebNavigationAPI>; |
- Profile* profile_; |
+ content::BrowserContext* browser_context_; |
// ProfileKeyedAPI implementation. |
static const char* service_name() { |