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

Unified Diff: chrome/android/testshell/chrome_main_delegate_testshell_android.cc

Issue 10918113: Add initial Chromium TestShell support for Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comment for RegisterApplicationNativeMethods Created 8 years, 3 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: chrome/android/testshell/chrome_main_delegate_testshell_android.cc
diff --git a/chrome/android/testshell/chrome_main_delegate_testshell_android.cc b/chrome/android/testshell/chrome_main_delegate_testshell_android.cc
new file mode 100644
index 0000000000000000000000000000000000000000..efe14f7bb3e12e0c18ae3fd284810a5baca070f2
--- /dev/null
+++ b/chrome/android/testshell/chrome_main_delegate_testshell_android.cc
@@ -0,0 +1,20 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/android/testshell/chrome_main_delegate_testshell_android.h"
+
+#include "base/android/jni_android.h"
+
+ChromeMainDelegateTestShellAndroid::ChromeMainDelegateTestShellAndroid() {
+}
+
+ChromeMainDelegateTestShellAndroid::~ChromeMainDelegateTestShellAndroid() {
+}
+
+bool ChromeMainDelegateTestShellAndroid::RegisterApplicationNativeMethods(
+ JNIEnv* env) {
+ // Register the generic Chrome JNI methods first. If that succeeds,
Yaron 2012/09/11 00:01:28 Remove comment
David Trainor- moved to gerrit 2012/09/11 00:25:04 Done.
+ // proceed to register any extra JNI methods here.
+ return ChromeMainDelegateAndroid::RegisterApplicationNativeMethods(env);
+}

Powered by Google App Engine
This is Rietveld 408576698