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

Side by Side 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, 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 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_PHYSICAL_WEB_PHYSICAL_WEB_DATA_SOURCE_ANDROID_H_
6 #define CHROME_BROWSER_ANDROID_PHYSICAL_WEB_PHYSICAL_WEB_DATA_SOURCE_ANDROID_H_
7
8 #include "base/macros.h"
9 #include "components/physical_web/data_source/physical_web_data_source.h"
10
11 namespace base {
12 class ListValue;
13 }
14
15 class PhysicalWebDataSourceAndroid : public PhysicalWebDataSource {
16 public:
17 PhysicalWebDataSourceAndroid();
18 ~PhysicalWebDataSourceAndroid() override;
19
20 void StartDiscovery(bool network_request_enabled) override;
21 void StopDiscovery() override;
22
23 std::unique_ptr<base::ListValue> GetMetadata() override;
24 bool HasUnresolvedDiscoveries() override;
25
26 void RegisterListener(PhysicalWebListener* listener) override;
27 void UnregisterListener(PhysicalWebListener* listener) override;
28
29 private:
30 DISALLOW_COPY_AND_ASSIGN(PhysicalWebDataSourceAndroid);
31 };
32
33 #endif // CHROME_BROWSER_ANDROID_PHYSICAL_WEB_PHYSICAL_WEB_DATA_SOURCE_ANDROID_ H_
OLDNEW
« 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