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

Side by Side Diff: blimp/client/public/android/blimp_jni_registrar.h

Issue 2132163002: Add BlimpClientContext and factory with real and dummy implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-blimp-client-core-public-to-blimp-client
Patch Set: git merge origin/master before CQ for good measure Created 4 years, 5 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BLIMP_CLIENT_APP_ANDROID_BLIMP_JNI_REGISTRAR_H_ 5 #ifndef BLIMP_CLIENT_PUBLIC_ANDROID_BLIMP_JNI_REGISTRAR_H_
6 #define BLIMP_CLIENT_APP_ANDROID_BLIMP_JNI_REGISTRAR_H_ 6 #define BLIMP_CLIENT_PUBLIC_ANDROID_BLIMP_JNI_REGISTRAR_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 namespace blimp { 10 namespace blimp {
11 namespace client { 11 namespace client {
12 12
13 // Registers native method hooks with the Java runtime specified by |env|. 13 // Registers native method hooks with the Java runtime specified by |env|.
14 // Returns false if registration fails, in which case native methods are 14 // Returns false if registration fails, in which case native methods are
15 // unavailable to Java. 15 // unavailable to Java.
16 bool RegisterBlimpJni(JNIEnv* env); 16 bool RegisterBlimpJni(JNIEnv* env);
17 17
18 } // namespace client 18 } // namespace client
19 } // namespace blimp 19 } // namespace blimp
20 20
21 #endif // BLIMP_CLIENT_APP_ANDROID_BLIMP_JNI_REGISTRAR_H_ 21 #endif // BLIMP_CLIENT_PUBLIC_ANDROID_BLIMP_JNI_REGISTRAR_H_
OLDNEW
« no previous file with comments | « blimp/client/public/DEPS ('k') | blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698