OLD | NEW |
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_AP_MANAGER_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_FAKE_AP_MANAGER_CLIENT_H_ |
6 #define CHROMEOS_DBUS_FAKE_AP_MANAGER_CLIENT_H_ | 6 #define CHROMEOS_DBUS_FAKE_AP_MANAGER_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
| 12 #include "base/macros.h" |
12 #include "chromeos/dbus/ap_manager_client.h" | 13 #include "chromeos/dbus/ap_manager_client.h" |
13 | 14 |
14 namespace chromeos { | 15 namespace chromeos { |
15 | 16 |
16 // A fake implementation of ApManagerClient. Invokes callbacks | 17 // A fake implementation of ApManagerClient. Invokes callbacks |
17 // immediately. | 18 // immediately. |
18 class FakeApManagerClient : public ApManagerClient { | 19 class FakeApManagerClient : public ApManagerClient { |
19 public: | 20 public: |
20 FakeApManagerClient(); | 21 FakeApManagerClient(); |
21 ~FakeApManagerClient() override; | 22 ~FakeApManagerClient() override; |
(...skipping 18 matching lines...) Expand all Loading... |
40 const ServiceProperties* GetServiceProperties( | 41 const ServiceProperties* GetServiceProperties( |
41 const dbus::ObjectPath& object_path) override; | 42 const dbus::ObjectPath& object_path) override; |
42 | 43 |
43 private: | 44 private: |
44 DISALLOW_COPY_AND_ASSIGN(FakeApManagerClient); | 45 DISALLOW_COPY_AND_ASSIGN(FakeApManagerClient); |
45 }; | 46 }; |
46 | 47 |
47 } // namespace chromeos | 48 } // namespace chromeos |
48 | 49 |
49 #endif // CHROMEOS_DBUS_FAKE_AP_MANAGER_CLIENT_H_ | 50 #endif // CHROMEOS_DBUS_FAKE_AP_MANAGER_CLIENT_H_ |
OLD | NEW |