Index: chrome/browser/extensions/api/i18n/i18n_api.cc |
diff --git a/chrome/browser/extensions/api/i18n/i18n_api.cc b/chrome/browser/extensions/api/i18n/i18n_api.cc |
index 2487dfe8c3b7cf1e4cbff0198ca338b5ab379fa8..dbf3b71d3de75005d1aa2dc20dcdacdeba48139e 100644 |
--- a/chrome/browser/extensions/api/i18n/i18n_api.cc |
+++ b/chrome/browser/extensions/api/i18n/i18n_api.cc |
@@ -14,7 +14,6 @@ |
#include "base/strings/string_split.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/common/extensions/api/i18n.h" |
-#include "chrome/common/extensions/api/i18n/default_locale_handler.h" |
#include "chrome/common/pref_names.h" |
namespace GetAcceptLanguages = extensions::api::i18n::GetAcceptLanguages; |
@@ -60,19 +59,4 @@ bool I18nGetAcceptLanguagesFunction::RunImpl() { |
return true; |
} |
-I18nAPI::I18nAPI(Profile* profile) { |
- (new DefaultLocaleHandler)->Register(); |
-} |
- |
-I18nAPI::~I18nAPI() { |
-} |
- |
-static base::LazyInstance<ProfileKeyedAPIFactory<I18nAPI> > |
- g_factory = LAZY_INSTANCE_INITIALIZER; |
- |
-// static |
-ProfileKeyedAPIFactory<I18nAPI>* I18nAPI::GetFactoryInstance() { |
- return &g_factory.Get(); |
-} |
- |
} // namespace extensions |