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

Unified Diff: chrome/browser/extensions/api/i18n/i18n_api.h

Issue 14694010: Consolidate manifest handler registration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/i18n/i18n_api.h
diff --git a/chrome/browser/extensions/api/i18n/i18n_api.h b/chrome/browser/extensions/api/i18n/i18n_api.h
index 9e291dc96d3f25a0f35dd57360f9cb280a896c26..5d8c12e24e258d6eb46a19f84d988ba9a20cef6e 100644
--- a/chrome/browser/extensions/api/i18n/i18n_api.h
+++ b/chrome/browser/extensions/api/i18n/i18n_api.h
@@ -18,26 +18,6 @@ class I18nGetAcceptLanguagesFunction : public SyncExtensionFunction {
DECLARE_EXTENSION_FUNCTION("i18n.getAcceptLanguages", I18N_GETACCEPTLANGUAGES)
};
-class I18nAPI : public ProfileKeyedAPI {
- public:
- explicit I18nAPI(Profile* profile);
- virtual ~I18nAPI();
-
- // ProfileKeyedAPI implementation.
- static ProfileKeyedAPIFactory<I18nAPI>* GetFactoryInstance();
-
- private:
- friend class ProfileKeyedAPIFactory<I18nAPI>;
-
- // ProfileKeyedAPI implementation.
- static const char* service_name() {
- return "I18nAPI";
- }
- static const bool kServiceIsNULLWhileTesting = true;
-
- DISALLOW_COPY_AND_ASSIGN(I18nAPI);
-};
-
} // namespace extensions
#endif // CHROME_BROWSER_EXTENSIONS_API_I18N_I18N_API_H_
« no previous file with comments | « chrome/browser/extensions/api/file_handlers/file_handlers_api.cc ('k') | chrome/browser/extensions/api/i18n/i18n_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698