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

Unified Diff: content/components/web_contents_delegate_android/component_jni_registrar.cc

Issue 11365199: Move WebContentsDelegateAndroid to content/components (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 8 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 side-by-side diff with in-line comments
Download patch
Index: content/components/web_contents_delegate_android/component_jni_registrar.cc
diff --git a/chrome/browser/component/web_contents_delegate_android/component_jni_registrar.cc b/content/components/web_contents_delegate_android/component_jni_registrar.cc
similarity index 62%
rename from chrome/browser/component/web_contents_delegate_android/component_jni_registrar.cc
rename to content/components/web_contents_delegate_android/component_jni_registrar.cc
index 8c6ae593ceff8e951ce5c030d4814c79f3995cc8..333d7bc79a0bea08003be8a03edb7e65748cea77 100644
--- a/chrome/browser/component/web_contents_delegate_android/component_jni_registrar.cc
+++ b/content/components/web_contents_delegate_android/component_jni_registrar.cc
@@ -2,22 +2,22 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/component/web_contents_delegate_android/component_jni_registrar.h"
+#include "content/components/web_contents_delegate_android/component_jni_registrar.h"
#include "base/android/jni_android.h"
#include "base/android/jni_registrar.h"
-#include "chrome/browser/component/web_contents_delegate_android/web_contents_delegate_android.h"
+#include "content/components/web_contents_delegate_android/web_contents_delegate_android.h"
-namespace web_contents_delegate_android {
+namespace content {
static base::android::RegistrationMethod kComponentRegisteredMethods[] = {
{ "WebContentsDelegateAndroid", RegisterWebContentsDelegateAndroid },
};
-bool RegisterJni(JNIEnv* env) {
+bool RegisterWebContentsDelegateAndroidJni(JNIEnv* env) {
return RegisterNativeMethods(env,
kComponentRegisteredMethods, arraysize(kComponentRegisteredMethods));
}
-} // namespace web_contents_delegate_android
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698