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

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

Issue 108803002: Make TabBase non abstract (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years 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
index 981fb48f9ad50ecbeb84f8a144e9bad13385219b..ac2b508b14a27ea80c68e6f523e34cbada9af7a5 100644
--- a/chrome/android/testshell/chrome_main_delegate_testshell_android.cc
+++ b/chrome/android/testshell/chrome_main_delegate_testshell_android.cc
@@ -6,15 +6,10 @@
#include "base/android/jni_android.h"
#include "base/android/jni_registrar.h"
-#include "chrome/android/testshell/testshell_tab.h"
#include "chrome/browser/search_engines/template_url_prepopulate_data.h"
static const char kDefaultCountryCode[] = "US";
-static base::android::RegistrationMethod kRegistrationMethods[] = {
- { "TestShellTab", TestShellTab::RegisterTestShellTab },
-};
-
ChromeMainDelegateAndroid* ChromeMainDelegateAndroid::Create() {
return new ChromeMainDelegateTestShellAndroid();
}
@@ -30,10 +25,3 @@ bool ChromeMainDelegateTestShellAndroid::BasicStartupComplete(int* exit_code) {
return ChromeMainDelegateAndroid::BasicStartupComplete(exit_code);
}
-bool ChromeMainDelegateTestShellAndroid::RegisterApplicationNativeMethods(
- JNIEnv* env) {
- return ChromeMainDelegateAndroid::RegisterApplicationNativeMethods(env) &&
- base::android::RegisterNativeMethods(env,
- kRegistrationMethods,
- arraysize(kRegistrationMethods));
-}

Powered by Google App Engine
This is Rietveld 408576698