summaryrefslogtreecommitdiffstats
path: root/android_webview/browser
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-11 13:00:16 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-11 13:00:16 +0000
commitc7141feb8f1f57d16e1b48efe6d630909e7355d5 (patch)
tree097e2e4c8c5cb3f90adfc91c02db0ec014f9bbbb /android_webview/browser
parent681d053f56e8811feebe868953722617e0ea1377 (diff)
downloadchromium_src-c7141feb8f1f57d16e1b48efe6d630909e7355d5.zip
chromium_src-c7141feb8f1f57d16e1b48efe6d630909e7355d5.tar.gz
chromium_src-c7141feb8f1f57d16e1b48efe6d630909e7355d5.tar.bz2
components: Move user_prefs into user_prefs namespace.
BUG=245050 R=joth@chromium.org,thestig@chromium.org,joi@chromium.org Review URL: https://chromiumcodereview.appspot.com/16625004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205517 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/browser')
-rw-r--r--android_webview/browser/aw_autofill_manager_delegate.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/android_webview/browser/aw_autofill_manager_delegate.cc b/android_webview/browser/aw_autofill_manager_delegate.cc
index 7d78b8c..46b43ad 100644
--- a/android_webview/browser/aw_autofill_manager_delegate.cc
+++ b/android_webview/browser/aw_autofill_manager_delegate.cc
@@ -21,7 +21,7 @@ namespace {
void HandleReadError(PersistentPrefStore::PrefReadError error) {
}
-}
+} // namespace
namespace android_webview {
@@ -39,7 +39,7 @@ AwAutofillManagerDelegate::AwAutofillManagerDelegate(bool enabled) {
pref_service_builder.WithReadErrorCallback(base::Bind(&HandleReadError));
AwBrowserContext* context = AwContentBrowserClient::GetAwBrowserContext();
- components::UserPrefs::Set(context,
+ user_prefs::UserPrefs::Set(context,
pref_service_builder.Create(pref_registry));
}
@@ -58,7 +58,7 @@ bool AwAutofillManagerDelegate::GetSaveFormData() {
}
PrefService* AwAutofillManagerDelegate::GetPrefs() {
- return components::UserPrefs::Get(
+ return user_prefs::UserPrefs::Get(
AwContentBrowserClient::GetAwBrowserContext());
}