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

Unified Diff: android_webview/browser/aw_autofill_client.cc

Issue 2863233002: [WebView] Move files from native to browser (Closed)
Patch Set: Created 3 years, 7 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
Index: android_webview/browser/aw_autofill_client.cc
diff --git a/android_webview/native/aw_autofill_client.cc b/android_webview/browser/aw_autofill_client.cc
similarity index 98%
rename from android_webview/native/aw_autofill_client.cc
rename to android_webview/browser/aw_autofill_client.cc
index 26f2b946f5c91cf429f4936975f27252938bb601..1ca74bc07a326f5fc59d0e91bb9af53711779eaf 100644
--- a/android_webview/native/aw_autofill_client.cc
+++ b/android_webview/browser/aw_autofill_client.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "android_webview/native/aw_autofill_client.h"
+#include "android_webview/browser/aw_autofill_client.h"
#include "android_webview/browser/aw_browser_context.h"
#include "android_webview/browser/aw_content_browser_client.h"
+#include "android_webview/browser/aw_contents.h"
#include "android_webview/browser/aw_form_database_service.h"
-#include "android_webview/native/aw_contents.h"
#include "base/android/jni_android.h"
#include "base/android/jni_string.h"
#include "base/android/scoped_java_ref.h"
@@ -100,7 +100,8 @@ scoped_refptr<autofill::AutofillWebDataService>
AwAutofillClient::GetDatabase() {
android_webview::AwFormDatabaseService* service =
static_cast<android_webview::AwBrowserContext*>(
- web_contents_->GetBrowserContext())->GetFormDatabaseService();
+ web_contents_->GetBrowserContext())
+ ->GetFormDatabaseService();
return service->get_autofill_webdata_service();
}

Powered by Google App Engine
This is Rietveld 408576698