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

Unified Diff: chrome/browser/autofill/autofill_country.cc

Issue 10828154: Remove autofill's dependency on BrowserProcess. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to latest parent. Created 8 years, 4 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
« no previous file with comments | « chrome/browser/autofill/DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_country.cc
diff --git a/chrome/browser/autofill/autofill_country.cc b/chrome/browser/autofill/autofill_country.cc
index 2dea6af516e00001a50c0e913444d6fbdeb6febd..ff12e29b627153afd59300d86d01740cad26bc2b 100644
--- a/chrome/browser/autofill/autofill_country.cc
+++ b/chrome/browser/autofill/autofill_country.cc
@@ -15,7 +15,7 @@
#include "base/stl_util.h"
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
-#include "chrome/browser/browser_process.h"
+#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/browser_thread.h"
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
@@ -424,7 +424,8 @@ CountryNames* CountryNames::GetInstance() {
const std::string CountryNames::ApplicationLocale() {
if (application_locale_.empty()) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- application_locale_ = g_browser_process->GetApplicationLocale();
+ application_locale_ =
+ content::GetContentClient()->browser()->GetApplicationLocale();
}
return application_locale_;
« no previous file with comments | « chrome/browser/autofill/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698