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

Unified Diff: components/physical_web/data_source/physical_web_data_source.cc

Issue 2403423005: Expose Physical Web metadata to native clients over JNI (Closed)
Patch Set: remove unit test Created 4 years, 2 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/data_source/physical_web_data_source.cc
diff --git a/components/physical_web/data_source/physical_web_data_source.cc b/components/physical_web/data_source/physical_web_data_source.cc
new file mode 100644
index 0000000000000000000000000000000000000000..31e8349694a27fa3d6c998c6593c3ca4c9d8e009
--- /dev/null
+++ b/components/physical_web/data_source/physical_web_data_source.cc
@@ -0,0 +1,14 @@
+// Copyright 2016 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.
+
+#include "components/physical_web/data_source/physical_web_data_source.h"
+
+const char kPhysicalWebDescriptionKey[] = "description";
+const char kPhysicalWebDistanceEstimateKey[] = "distanceEstimate";
+const char kPhysicalWebGroupIdKey[] = "groupId";
+const char kPhysicalWebIconUrlKey[] = "icon";
+const char kPhysicalWebResolvedUrlKey[] = "resolvedUrl";
+const char kPhysicalWebScanTimestampKey[] = "scanTimestamp";
+const char kPhysicalWebScannedUrlKey[] = "scannedUrl";
+const char kPhysicalWebTitleKey[] = "title";
« no previous file with comments | « components/physical_web/data_source/physical_web_data_source.h ('k') | ios/chrome/common/physical_web/physical_web_scanner.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698