OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_NETWORK_FAKE_NETWORK_DEVICE_HANDLER_H_ | 5 #ifndef CHROMEOS_NETWORK_FAKE_NETWORK_DEVICE_HANDLER_H_ |
6 #define CHROMEOS_NETWORK_FAKE_NETWORK_DEVICE_HANDLER_H_ | 6 #define CHROMEOS_NETWORK_FAKE_NETWORK_DEVICE_HANDLER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
10 #include "chromeos/chromeos_export.h" | 10 #include "chromeos/chromeos_export.h" |
11 #include "chromeos/network/network_device_handler.h" | 11 #include "chromeos/network/network_device_handler.h" |
12 | 12 |
13 namespace chromeos { | 13 namespace chromeos { |
14 | 14 |
15 // This is a fake implementation which does nothing. Use this as a base class | 15 // This is a fake implementation which does nothing. Use this as a base class |
16 // for concrete fake handlers. | 16 // for concrete fake handlers. |
17 class CHROMEOS_EXPORT FakeNetworkDeviceHandler : public NetworkDeviceHandler { | 17 class CHROMEOS_EXPORT FakeNetworkDeviceHandler : public NetworkDeviceHandler { |
18 public: | 18 public: |
19 FakeNetworkDeviceHandler(); | 19 FakeNetworkDeviceHandler(); |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 const base::Closure& callback, | 106 const base::Closure& callback, |
107 const network_handler::ErrorCallback& error_callback) override; | 107 const network_handler::ErrorCallback& error_callback) override; |
108 | 108 |
109 private: | 109 private: |
110 DISALLOW_COPY_AND_ASSIGN(FakeNetworkDeviceHandler); | 110 DISALLOW_COPY_AND_ASSIGN(FakeNetworkDeviceHandler); |
111 }; | 111 }; |
112 | 112 |
113 } // namespace chromeos | 113 } // namespace chromeos |
114 | 114 |
115 #endif // CHROMEOS_NETWORK_FAKE_NETWORK_DEVICE_HANDLER_H_ | 115 #endif // CHROMEOS_NETWORK_FAKE_NETWORK_DEVICE_HANDLER_H_ |
OLD | NEW |