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 d65b4eef0f5214c5155690f94aa5e0b0f3a6fa29..a5d25b2cddc967982d4fe70089531dcdea0a1047 100644 |
--- a/chrome/browser/extensions/api/tabs/tabs_windows_api.h |
+++ b/chrome/browser/extensions/api/tabs/tabs_windows_api.h |
@@ -6,15 +6,16 @@ |
#define CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_WINDOWS_API_H_ |
#include "base/memory/scoped_ptr.h" |
-#include "chrome/browser/extensions/api/profile_keyed_api_factory.h" |
#include "components/browser_context_keyed_service/browser_context_keyed_service.h" |
+#include "extensions/browser/browser_context_keyed_api_factory.h" |
#include "extensions/browser/event_router.h" |
namespace extensions { |
class TabsEventRouter; |
class WindowsEventRouter; |
-class TabsWindowsAPI : public ProfileKeyedAPI, public EventRouter::Observer { |
+class TabsWindowsAPI : public BrowserContextKeyedAPI, |
+ public EventRouter::Observer { |
public: |
explicit TabsWindowsAPI(content::BrowserContext* context); |
virtual ~TabsWindowsAPI(); |
@@ -28,19 +29,19 @@ class TabsWindowsAPI : public ProfileKeyedAPI, public EventRouter::Observer { |
// BrowserContextKeyedService implementation. |
virtual void Shutdown() OVERRIDE; |
- // ProfileKeyedAPI implementation. |
- static ProfileKeyedAPIFactory<TabsWindowsAPI>* GetFactoryInstance(); |
+ // BrowserContextKeyedAPI implementation. |
+ static BrowserContextKeyedAPIFactory<TabsWindowsAPI>* GetFactoryInstance(); |
// EventRouter::Observer implementation. |
virtual void OnListenerAdded(const extensions::EventListenerInfo& details) |
OVERRIDE; |
private: |
- friend class ProfileKeyedAPIFactory<TabsWindowsAPI>; |
+ friend class BrowserContextKeyedAPIFactory<TabsWindowsAPI>; |
content::BrowserContext* browser_context_; |
- // ProfileKeyedAPI implementation. |
+ // BrowserContextKeyedAPI implementation. |
static const char* service_name() { |
return "TabsWindowsAPI"; |
} |