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

Side by Side Diff: android_webview/native/aw_autofill_manager_delegate.cc

Issue 64193003: Clean up PrefServiceBuilder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix memory ownership bug in ProxyPolicyTest Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « android_webview/native/aw_autofill_manager_delegate.h ('k') | base/base.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "android_webview/native/aw_autofill_manager_delegate.h" 5 #include "android_webview/native/aw_autofill_manager_delegate.h"
6 6
7 #include "android_webview/browser/aw_browser_context.h" 7 #include "android_webview/browser/aw_browser_context.h"
8 #include "android_webview/browser/aw_content_browser_client.h" 8 #include "android_webview/browser/aw_content_browser_client.h"
9 #include "android_webview/browser/aw_pref_store.h" 9 #include "android_webview/browser/aw_pref_store.h"
10 #include "android_webview/native/aw_contents.h" 10 #include "android_webview/native/aw_contents.h"
11 #include "base/android/jni_android.h" 11 #include "base/android/jni_android.h"
12 #include "base/android/jni_string.h" 12 #include "base/android/jni_string.h"
13 #include "base/android/scoped_java_ref.h" 13 #include "base/android/scoped_java_ref.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/prefs/pref_registry_simple.h" 15 #include "base/prefs/pref_registry_simple.h"
16 #include "base/prefs/pref_service.h" 16 #include "base/prefs/pref_service.h"
17 #include "base/prefs/pref_service_builder.h" 17 #include "base/prefs/pref_service_factory.h"
18 #include "components/autofill/core/browser/autofill_popup_delegate.h" 18 #include "components/autofill/core/browser/autofill_popup_delegate.h"
19 #include "components/autofill/core/common/autofill_pref_names.h" 19 #include "components/autofill/core/common/autofill_pref_names.h"
20 #include "components/user_prefs/user_prefs.h" 20 #include "components/user_prefs/user_prefs.h"
21 #include "content/public/browser/web_contents.h" 21 #include "content/public/browser/web_contents.h"
22 #include "content/public/browser/web_contents_view.h" 22 #include "content/public/browser/web_contents_view.h"
23 #include "jni/AwAutofillManagerDelegate_jni.h" 23 #include "jni/AwAutofillManagerDelegate_jni.h"
24 24
25 using base::android::AttachCurrentThread; 25 using base::android::AttachCurrentThread;
26 using base::android::ConvertUTF16ToJavaString; 26 using base::android::ConvertUTF16ToJavaString;
27 using base::android::ScopedJavaLocalRef; 27 using base::android::ScopedJavaLocalRef;
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 const GURL& source_url, 182 const GURL& source_url,
183 const base::Callback<void(const autofill::FormStructure*)>& callback) { 183 const base::Callback<void(const autofill::FormStructure*)>& callback) {
184 NOTIMPLEMENTED(); 184 NOTIMPLEMENTED();
185 } 185 }
186 186
187 bool RegisterAwAutofillManagerDelegate(JNIEnv* env) { 187 bool RegisterAwAutofillManagerDelegate(JNIEnv* env) {
188 return RegisterNativesImpl(env) >= 0; 188 return RegisterNativesImpl(env) >= 0;
189 } 189 }
190 190
191 } // namespace android_webview 191 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/native/aw_autofill_manager_delegate.h ('k') | base/base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698