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

Side by Side Diff: content/shell/android/shell_jni_registrar.cc

Issue 12091033: Relanding "Add apk for running content_browsertests" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/shell/android/shell_jni_registrar.h"
6
7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h"
9 #include "content/shell/android/shell_manager.h"
10 #include "content/shell/shell.h"
11
12 namespace {
13
14 static base::android::RegistrationMethod kShellRegistrationMethods[] = {
15 { "Shell", content::Shell::Register },
16 { "ShellManager", content::RegisterShellManager },
17 };
18
19 } // namespace
20
21 namespace content {
22 namespace android {
23
24 bool RegisterShellJni(JNIEnv* env) {
25 return RegisterNativeMethods(env, kShellRegistrationMethods,
26 arraysize(kShellRegistrationMethods));
27 }
28
29 } // namespace android
30 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/android/shell_jni_registrar.h ('k') | content/shell/android/shell_library_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698