Index: chrome/browser/extensions/api/tabs/tabs_windows_api.h |
diff --git a/chrome/browser/extensions/api/tabs/tabs_windows_api.h b/chrome/browser/extensions/api/tabs/tabs_windows_api.h |
index cba587430d1bb15f36964c95f6fea08d8433e520..d65b4eef0f5214c5155690f94aa5e0b0f3a6fa29 100644 |
--- a/chrome/browser/extensions/api/tabs/tabs_windows_api.h |
+++ b/chrome/browser/extensions/api/tabs/tabs_windows_api.h |
@@ -16,11 +16,11 @@ class WindowsEventRouter; |
class TabsWindowsAPI : public ProfileKeyedAPI, public EventRouter::Observer { |
public: |
- explicit TabsWindowsAPI(Profile* profile); |
+ explicit TabsWindowsAPI(content::BrowserContext* context); |
virtual ~TabsWindowsAPI(); |
// Convenience method to get the TabsWindowsAPI for a profile. |
- static TabsWindowsAPI* Get(Profile* profile); |
+ static TabsWindowsAPI* Get(content::BrowserContext* context); |
TabsEventRouter* tabs_event_router(); |
WindowsEventRouter* windows_event_router(); |
@@ -38,7 +38,7 @@ class TabsWindowsAPI : public ProfileKeyedAPI, public EventRouter::Observer { |
private: |
friend class ProfileKeyedAPIFactory<TabsWindowsAPI>; |
- Profile* profile_; |
+ content::BrowserContext* browser_context_; |
// ProfileKeyedAPI implementation. |
static const char* service_name() { |