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

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

Issue 2361603002: Add an empty Android implementation of the PhysicalWebDataSource (Closed)
Patch Set: rebase Created 4 years, 3 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
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/android/physical_web/physical_web_data_source_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/physical_web/physical_web_data_source_android.h
diff --git a/chrome/browser/android/physical_web/physical_web_data_source_android.h b/chrome/browser/android/physical_web/physical_web_data_source_android.h
new file mode 100644
index 0000000000000000000000000000000000000000..549bbc7ae7f718e03cd4767e0916aad89745e583
--- /dev/null
+++ b/chrome/browser/android/physical_web/physical_web_data_source_android.h
@@ -0,0 +1,33 @@
+// 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.
+
+#ifndef CHROME_BROWSER_ANDROID_PHYSICAL_WEB_PHYSICAL_WEB_DATA_SOURCE_ANDROID_H_
+#define CHROME_BROWSER_ANDROID_PHYSICAL_WEB_PHYSICAL_WEB_DATA_SOURCE_ANDROID_H_
+
+#include "base/macros.h"
+#include "components/physical_web/data_source/physical_web_data_source.h"
+
+namespace base {
+class ListValue;
+}
+
+class PhysicalWebDataSourceAndroid : public PhysicalWebDataSource {
+ public:
+ PhysicalWebDataSourceAndroid();
+ ~PhysicalWebDataSourceAndroid() override;
+
+ void StartDiscovery(bool network_request_enabled) override;
+ void StopDiscovery() override;
+
+ std::unique_ptr<base::ListValue> GetMetadata() override;
+ bool HasUnresolvedDiscoveries() override;
+
+ void RegisterListener(PhysicalWebListener* listener) override;
+ void UnregisterListener(PhysicalWebListener* listener) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(PhysicalWebDataSourceAndroid);
+};
+
+#endif // CHROME_BROWSER_ANDROID_PHYSICAL_WEB_PHYSICAL_WEB_DATA_SOURCE_ANDROID_H_
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/android/physical_web/physical_web_data_source_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698