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

Side by Side Diff: mojo/android/javatests/core_test.cc

Issue 228723002: Java API for mojo system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adding empty file to force creation. Created 6 years, 8 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
« no previous file with comments | « mojo/android/javatests/core_test.h ('k') | mojo/android/javatests/init_library.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 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 "mojo/android/javatests/core_test.h"
6
7 #include "base/android/jni_android.h"
8 #include "base/android/scoped_java_ref.h"
9 #include "jni/CoreTest_jni.h"
10
11 namespace mojo {
12 namespace android {
13
14 static void InitApplicationContext(JNIEnv* env,
15 jobject jcaller,
16 jobject context) {
17 base::android::ScopedJavaLocalRef<jobject> scoped_context(env, context);
18 base::android::InitApplicationContext(env, scoped_context);
19 }
20
21 bool RegisterCoreTest(JNIEnv* env) {
22 return RegisterNativesImpl(env);
23 }
24
25 } // namespace android
26 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/android/javatests/core_test.h ('k') | mojo/android/javatests/init_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698