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

Unified Diff: chrome/browser/extensions/api/url_overrides/url_overrides_api_factory.h

Issue 11660016: Move the parsing of "chrome_url_overrides" out of Extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/url_overrides/url_overrides_api_factory.h
diff --git a/chrome/browser/extensions/api/input_ime/input_ime_api_factory.h b/chrome/browser/extensions/api/url_overrides/url_overrides_api_factory.h
similarity index 54%
copy from chrome/browser/extensions/api/input_ime/input_ime_api_factory.h
copy to chrome/browser/extensions/api/url_overrides/url_overrides_api_factory.h
index 03586cfdffb6dcc6c5ad67b6ff14d3d8daf470b2..a42a2621b2438f225971d4c883781966d598da32 100644
--- a/chrome/browser/extensions/api/input_ime/input_ime_api_factory.h
+++ b/chrome/browser/extensions/api/url_overrides/url_overrides_api_factory.h
@@ -2,24 +2,25 @@
// 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_INPUT_IME_INPUT_IME_API_FACTORY_H_
-#define CHROME_BROWSER_EXTENSIONS_API_INPUT_IME_INPUT_IME_API_FACTORY_H_
+#ifndef CHROME_BROWSER_EXTENSIONS_API_URL_OVERRIDES_URL_OVERRIDES_API_FACTORY_H_
+#define CHROME_BROWSER_EXTENSIONS_API_URL_OVERRIDES_URL_OVERRIDES_API_FACTORY_H_
#include "base/memory/singleton.h"
#include "chrome/browser/profiles/profile_keyed_service_factory.h"
namespace extensions {
-class InputImeAPI;
-class InputImeAPIFactory : public ProfileKeyedServiceFactory {
+class URLOverridesAPI;
+
+class URLOverridesAPIFactory : public ProfileKeyedServiceFactory {
public:
- static InputImeAPIFactory* GetInstance();
+ static URLOverridesAPIFactory* GetInstance();
private:
- friend struct DefaultSingletonTraits<InputImeAPIFactory>;
+ friend struct DefaultSingletonTraits<URLOverridesAPIFactory>;
- InputImeAPIFactory();
- virtual ~InputImeAPIFactory();
+ URLOverridesAPIFactory();
+ virtual ~URLOverridesAPIFactory();
// ProfileKeyedServiceFactory implementation.
virtual ProfileKeyedService* BuildServiceInstanceFor(
@@ -30,4 +31,4 @@ class InputImeAPIFactory : public ProfileKeyedServiceFactory {
} // namespace extensions
-#endif // CHROME_BROWSER_EXTENSIONS_API_INPUT_IME_INPUT_IME_API_FACTORY_H_
+#endif // CHROME_BROWSER_EXTENSIONS_API_URL_OVERRIDES_URL_OVERRIDES_API_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698