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

Unified Diff: android_webview/browser/aw_form_database.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_form_database.cc
diff --git a/android_webview/native/aw_form_database.cc b/android_webview/browser/aw_form_database.cc
similarity index 90%
rename from android_webview/native/aw_form_database.cc
rename to android_webview/browser/aw_form_database.cc
index 3e3ebb91117e94dd6d9dc8a3cf3721c26d19c655..9755ab2cb72ba722ab69ebba45e51fc7de7171ef 100644
--- a/android_webview/native/aw_form_database.cc
+++ b/android_webview/browser/aw_form_database.cc
@@ -2,7 +2,7 @@
// 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_form_database.h"
+#include "android_webview/browser/aw_form_database.h"
#include "android_webview/browser/aw_browser_context.h"
#include "android_webview/browser/aw_content_browser_client.h"
@@ -19,13 +19,12 @@ namespace android_webview {
namespace {
AwFormDatabaseService* GetFormDatabaseService() {
-
AwBrowserContext* context = AwContentBrowserClient::GetAwBrowserContext();
AwFormDatabaseService* service = context->GetFormDatabaseService();
return service;
}
-} // anonymous namespace
+} // anonymous namespace
// static
jboolean HasFormData(JNIEnv*, const JavaParamRef<jclass>&) {
@@ -41,4 +40,4 @@ bool RegisterAwFormDatabase(JNIEnv* env) {
return RegisterNativesImpl(env);
}
-} // namespace android_webview
+} // namespace android_webview

Powered by Google App Engine
This is Rietveld 408576698