OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 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 #ifndef CHROME_BROWSER_ANDROID_EDDYSTONE_ENCODER_BRIDGE_H_ | |
Olivier
2017/03/17 08:53:02
Not sure this is enforced for Android, but guard i
| |
6 #define CHROME_BROWSER_ANDROID_EDDYSTONE_ENCODER_BRIDGE_H_ | |
7 | |
8 #include <jni.h> | |
9 | |
10 #include "base/android/jni_android.h" | |
11 #include "base/android/scoped_java_ref.h" | |
12 | |
13 using base::android::JavaParamRef; | |
14 | |
15 bool RegisterEddystoneEncoderBridge(JNIEnv* env); | |
16 | |
17 base::android::ScopedJavaLocalRef<jbyteArray> EncodeUrlForTesting( | |
18 JNIEnv* env, | |
19 const JavaParamRef<jobject>& jcaller, | |
20 const JavaParamRef<jstring>& j_url); | |
21 | |
22 #endif // CHROME_BROWSER_ANDROID_EDDYSTONE_ENCODER_BRIDGE_H_ | |
OLD | NEW |