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

Unified Diff: chrome/browser/extensions/api/input_ime/input_ime_api_factory.h

Issue 11618005: Pull InputIme stuff out of ExtensionService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit fixed Created 8 years 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_factory.h
diff --git a/chrome/browser/extensions/api/cookies/cookies_api_factory.h b/chrome/browser/extensions/api/input_ime/input_ime_api_factory.h
similarity index 56%
copy from chrome/browser/extensions/api/cookies/cookies_api_factory.h
copy to chrome/browser/extensions/api/input_ime/input_ime_api_factory.h
index a3c3a96385fc3ba672d0b25c67ee0d6e16e96cdb..03586cfdffb6dcc6c5ad67b6ff14d3d8daf470b2 100644
--- a/chrome/browser/extensions/api/cookies/cookies_api_factory.h
+++ b/chrome/browser/extensions/api/input_ime/input_ime_api_factory.h
@@ -2,24 +2,24 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_API_FACTORY_H_
-#define CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_API_FACTORY_H_
+#ifndef CHROME_BROWSER_EXTENSIONS_API_INPUT_IME_INPUT_IME_API_FACTORY_H_
+#define CHROME_BROWSER_EXTENSIONS_API_INPUT_IME_INPUT_IME_API_FACTORY_H_
#include "base/memory/singleton.h"
#include "chrome/browser/profiles/profile_keyed_service_factory.h"
namespace extensions {
-class CookiesAPI;
+class InputImeAPI;
-class CookiesAPIFactory : public ProfileKeyedServiceFactory {
+class InputImeAPIFactory : public ProfileKeyedServiceFactory {
public:
- static CookiesAPIFactory* GetInstance();
+ static InputImeAPIFactory* GetInstance();
private:
- friend struct DefaultSingletonTraits<CookiesAPIFactory>;
+ friend struct DefaultSingletonTraits<InputImeAPIFactory>;
- CookiesAPIFactory();
- virtual ~CookiesAPIFactory();
+ InputImeAPIFactory();
+ virtual ~InputImeAPIFactory();
// ProfileKeyedServiceFactory implementation.
virtual ProfileKeyedService* BuildServiceInstanceFor(
@@ -30,4 +30,4 @@ class CookiesAPIFactory : public ProfileKeyedServiceFactory {
} // namespace extensions
-#endif // CHROME_BROWSER_EXTENSIONS_API_COOKIES_COOKIES_API_FACTORY_H_
+#endif // CHROME_BROWSER_EXTENSIONS_API_INPUT_IME_INPUT_IME_API_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698