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

Unified Diff: chrome/browser/android/physical_web/eddystone_encoder_bridge.h

Issue 2753683002: Build a Bridge to Eddystone Encoder in Components (Closed)
Patch Set: Rebasing Again Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/physical_web/eddystone_encoder_bridge.h
diff --git a/chrome/browser/android/physical_web/eddystone_encoder_bridge.h b/chrome/browser/android/physical_web/eddystone_encoder_bridge.h
new file mode 100644
index 0000000000000000000000000000000000000000..cbfad626f62c0c70be204ddc6cf0b08943400ed9
--- /dev/null
+++ b/chrome/browser/android/physical_web/eddystone_encoder_bridge.h
@@ -0,0 +1,22 @@
+// Copyright 2017 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.
+
+#ifndef CHROME_BROWSER_ANDROID_PHYSICAL_WEB_EDDYSTONE_ENCODER_BRIDGE_H_
+#define CHROME_BROWSER_ANDROID_PHYSICAL_WEB_EDDYSTONE_ENCODER_BRIDGE_H_
+
+#include <jni.h>
+
+#include "base/android/jni_android.h"
+#include "base/android/scoped_java_ref.h"
+
+using base::android::JavaParamRef;
+
+bool RegisterEddystoneEncoderBridge(JNIEnv* env);
+
+base::android::ScopedJavaLocalRef<jbyteArray> EncodeUrlForTesting(
+ JNIEnv* env,
+ const JavaParamRef<jobject>& jcaller,
+ const JavaParamRef<jstring>& j_url);
+
+#endif // CHROME_BROWSER_ANDROID_PHYSICAL_WEB_EDDYSTONE_ENCODER_BRIDGE_H_
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/android/physical_web/eddystone_encoder_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698