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

Unified Diff: components/physical_web/eddystone/eddystone_encoder.h

Issue 2731273004: Add Platform Independent Eddystone Encoder (Closed)
Patch Set: 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: components/physical_web/eddystone/eddystone_encoder.h
diff --git a/components/physical_web/eddystone/eddystone_encoder.h b/components/physical_web/eddystone/eddystone_encoder.h
new file mode 100644
index 0000000000000000000000000000000000000000..d396c90e457a3f2fc79648c017956a4634199ea3
--- /dev/null
+++ b/components/physical_web/eddystone/eddystone_encoder.h
@@ -0,0 +1,15 @@
+// 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_EDDYSTONE_ENCODER_H_
mattreynolds 2017/03/08 19:14:46 Change to COMPONENTS_PHYSICAL_WEB_EDDYSTONE_EDDYST
iankc 2017/03/09 20:45:45 Done.
+#define CHROME_BROWSER_ANDROID_EDDYSTONE_ENCODER_H_
+
+#include <string>
+#include <vector>
+
+namespace physical_web {
+std::vector<uint8_t> EncodeUrl(std::string c_url);
mattreynolds 2017/03/08 19:14:47 Add a comment describing the method
iankc 2017/03/09 20:45:45 Done.
+}
+
+#endif // CHROME_BROWSER_ANDROID_EDDYSTONE_ENCODER_H_

Powered by Google App Engine
This is Rietveld 408576698