Chromium Code Reviews| 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..9a3fe622653bcf7fea452e60557561d4c809e38a |
| --- /dev/null |
| +++ b/chrome/android/testshell/chrome_main_delegate_testshell_android.cc |
| @@ -0,0 +1,25 @@ |
| +// 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, |
| + // proceed to register any extra JNI methods here. |
| + if (!ChromeMainDelegateAndroid::RegisterApplicationNativeMethods(env)) |
| + return false; |
| + |
| + // Add extra JNI methods if necessary here. |
|
Yaron
2012/09/07 20:53:43
Are there really going to be others? I think you c
David Trainor- moved to gerrit
2012/09/10 18:09:13
For the rendering and tab components I already hav
|
| + |
| + return true; |
| +} |