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

Unified Diff: components/autofill/browser/android/personal_data_manager_android.cc

Issue 13409003: Hide ContentClient getters from embedders so that they they don't reuse content's embedder API. The… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync 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
« no previous file with comments | « chrome_frame/test/net/fake_external_tab.cc ('k') | components/autofill/browser/autocheckout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/browser/android/personal_data_manager_android.cc
===================================================================
--- components/autofill/browser/android/personal_data_manager_android.cc (revision 192622)
+++ components/autofill/browser/android/personal_data_manager_android.cc (working copy)
@@ -8,10 +8,6 @@
#include "components/autofill/browser/android/auxiliary_profiles_android.h"
#include "components/autofill/browser/personal_data_manager.h"
-// TODO(jam) remove once https://codereview.chromium.org/13488009/ lands, since
-// that brings localle to PDM.
-#include "content/public/browser/content_browser_client.h"
-
void PersonalDataManager::LoadAuxiliaryProfiles() {
auxiliary_profiles_.clear();
autofill::AuxiliaryProfileLoaderAndroid profile_loader;
@@ -19,11 +15,7 @@
base::android::AttachCurrentThread(),
base::android::GetApplicationContext());
if (profile_loader.GetHasPermissions()) {
- autofill::AuxiliaryProfilesAndroid impl(
- profile_loader,
- // TODO(jam) remove once https://codereview.chromium.org/13488009/
- // lands, since that brings localle to PDM.
- content::GetContentClient()->browser()->GetApplicationLocale());
+ autofill::AuxiliaryProfilesAndroid impl(profile_loader, app_locale_);
auxiliary_profiles_.push_back(impl.LoadContactsProfile().release());
}
}
« no previous file with comments | « chrome_frame/test/net/fake_external_tab.cc ('k') | components/autofill/browser/autocheckout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698