Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2538)

Unified Diff: chrome/browser/extensions/api/tabs/tabs_windows_api.h

Issue 11682005: Remove some Profile-keyed factory boilerplate: management omnibox preference push_messaging. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 b3fa9f5437ca2e4eddd2bb5d2e48ba6070c775fa..088a91a1561391f9548570ecc28e383702593843 100644
--- a/chrome/browser/extensions/api/tabs/tabs_windows_api.h
+++ b/chrome/browser/extensions/api/tabs/tabs_windows_api.h
@@ -27,6 +27,9 @@ class TabsWindowsAPI : public ProfileKeyedAPI,
// ProfileKeyedService implementation.
virtual void Shutdown() OVERRIDE;
+ // ProfileKeyedAPI implementation.
+ static ProfileKeyedAPIFactory<TabsWindowsAPI>* GetFactoryInstance();
+
// EventRouter::Observer implementation.
virtual void OnListenerAdded(const extensions::EventListenerInfo& details)
OVERRIDE;
@@ -45,10 +48,6 @@ class TabsWindowsAPI : public ProfileKeyedAPI,
scoped_ptr<WindowsEventRouter> windows_event_router_;
};
-template <>
-ProfileKeyedAPIFactory<TabsWindowsAPI>*
-ProfileKeyedAPIFactory<TabsWindowsAPI>::GetInstance();
-
} // namespace extensions
#endif // CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_WINDOWS_API_H_

Powered by Google App Engine
This is Rietveld 408576698