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

Unified Diff: chrome/browser/extensions/api/input_ime/input_ime_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/input_ime/input_ime_api.h
diff --git a/chrome/browser/extensions/api/input_ime/input_ime_api.h b/chrome/browser/extensions/api/input_ime/input_ime_api.h
index e4d1dcd635db4be393ee22d35485f41923ea4e4a..4cf7662e05695c9f36ff6eb6b4745988518749a1 100644
--- a/chrome/browser/extensions/api/input_ime/input_ime_api.h
+++ b/chrome/browser/extensions/api/input_ime/input_ime_api.h
@@ -179,6 +179,9 @@ class InputImeAPI : public ProfileKeyedAPI,
explicit InputImeAPI(Profile* profile);
virtual ~InputImeAPI();
+ // ProfileKeyedAPI implementation.
+ static ProfileKeyedAPIFactory<InputImeAPI>* GetFactoryInstance();
+
// content::NotificationObserver implementation.
virtual void Observe(int type,
const content::NotificationSource& source,
@@ -198,10 +201,6 @@ class InputImeAPI : public ProfileKeyedAPI,
content::NotificationRegistrar registrar_;
};
-template <>
-ProfileKeyedAPIFactory<InputImeAPI>*
-ProfileKeyedAPIFactory<InputImeAPI>::GetInstance();
-
} // namespace extensions
#endif // CHROME_BROWSER_EXTENSIONS_API_INPUT_IME_INPUT_IME_API_H_
« no previous file with comments | « chrome/browser/extensions/api/cookies/cookies_api.cc ('k') | chrome/browser/extensions/api/input_ime/input_ime_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698