| 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 51897da85ccf55440b9a3262dc3385503ea69c33..ad2ef32c45afd58cd969ecac1978b1dd5db9214d 100644
|
| --- a/chrome/browser/extensions/api/i18n/i18n_api.cc
|
| +++ b/chrome/browser/extensions/api/i18n/i18n_api.cc
|
| @@ -12,15 +12,15 @@
|
| #include "base/string_split.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| -#include "chrome/common/pref_names.h"
|
| #include "chrome/common/extensions/api/i18n.h"
|
| +#include "chrome/common/pref_names.h"
|
|
|
| namespace GetAcceptLanguages = extensions::api::i18n::GetAcceptLanguages;
|
|
|
| // Errors.
|
| static const char kEmptyAcceptLanguagesError[] = "accept-languages is empty.";
|
|
|
| -bool GetAcceptLanguagesFunction::RunImpl() {
|
| +bool I18nGetAcceptLanguagesFunction::RunImpl() {
|
| std::string accept_languages =
|
| profile()->GetPrefs()->GetString(prefs::kAcceptLanguages);
|
| // Currently, there are 2 ways to set browser's accept-languages: through UI
|
|
|