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

Side by Side Diff: chromeos/dbus/fake_privet_daemon_manager_client.h

Issue 2291693002: Remove obsolete ChromeOS DBus bindings for privetd (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 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 CHROMEOS_DBUS_FAKE_PRIVET_DAEMON_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_PRIVET_DAEMON_MANAGER_CLIENT_H_
7
8 #include "base/macros.h"
9 #include "chromeos/dbus/privet_daemon_manager_client.h"
10
11 namespace chromeos {
12
13 // A fake implementation of PrivetDaemonManagerClient. Invokes callbacks
14 // immediately.
15 class FakePrivetDaemonManagerClient : public PrivetDaemonManagerClient {
16 public:
17 FakePrivetDaemonManagerClient();
18 ~FakePrivetDaemonManagerClient() override;
19
20 // DBusClient overrides:
21 void Init(dbus::Bus* bus) override;
22
23 // PrivetDaemonManagerClient overrides:
24 void AddObserver(Observer* observer) override;
25 void RemoveObserver(Observer* observer) override;
26 void SetDescription(const std::string& description,
27 const VoidDBusMethodCallback& callback) override;
28 const Properties* GetProperties() override;
29
30 private:
31 DISALLOW_COPY_AND_ASSIGN(FakePrivetDaemonManagerClient);
32 };
33
34 } // namespace chromeos
35
36 #endif // CHROMEOS_DBUS_FAKE_PRIVET_DAEMON_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/dbus_thread_manager.cc ('k') | chromeos/dbus/fake_privet_daemon_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698