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

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

Issue 1540803002: Switch to standard integer types in chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 4 years, 12 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMEOS_DBUS_FAKE_PRIVET_DAEMON_MANAGER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_PRIVET_DAEMON_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_PRIVET_DAEMON_MANAGER_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_PRIVET_DAEMON_MANAGER_CLIENT_H_
7 7
8 #include "base/macros.h"
8 #include "chromeos/dbus/privet_daemon_manager_client.h" 9 #include "chromeos/dbus/privet_daemon_manager_client.h"
9 10
10 namespace chromeos { 11 namespace chromeos {
11 12
12 // A fake implementation of PrivetDaemonManagerClient. Invokes callbacks 13 // A fake implementation of PrivetDaemonManagerClient. Invokes callbacks
13 // immediately. 14 // immediately.
14 class FakePrivetDaemonManagerClient : public PrivetDaemonManagerClient { 15 class FakePrivetDaemonManagerClient : public PrivetDaemonManagerClient {
15 public: 16 public:
16 FakePrivetDaemonManagerClient(); 17 FakePrivetDaemonManagerClient();
17 ~FakePrivetDaemonManagerClient() override; 18 ~FakePrivetDaemonManagerClient() override;
18 19
19 // DBusClient overrides: 20 // DBusClient overrides:
20 void Init(dbus::Bus* bus) override; 21 void Init(dbus::Bus* bus) override;
21 22
22 // PrivetDaemonManagerClient overrides: 23 // PrivetDaemonManagerClient overrides:
23 void AddObserver(Observer* observer) override; 24 void AddObserver(Observer* observer) override;
24 void RemoveObserver(Observer* observer) override; 25 void RemoveObserver(Observer* observer) override;
25 void SetDescription(const std::string& description, 26 void SetDescription(const std::string& description,
26 const VoidDBusMethodCallback& callback) override; 27 const VoidDBusMethodCallback& callback) override;
27 const Properties* GetProperties() override; 28 const Properties* GetProperties() override;
28 29
29 private: 30 private:
30 DISALLOW_COPY_AND_ASSIGN(FakePrivetDaemonManagerClient); 31 DISALLOW_COPY_AND_ASSIGN(FakePrivetDaemonManagerClient);
31 }; 32 };
32 33
33 } // namespace chromeos 34 } // namespace chromeos
34 35
35 #endif // CHROMEOS_DBUS_FAKE_PRIVET_DAEMON_MANAGER_CLIENT_H_ 36 #endif // CHROMEOS_DBUS_FAKE_PRIVET_DAEMON_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_power_manager_client_unittest.cc ('k') | chromeos/dbus/fake_session_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698