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_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ |
6 #define CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ | 6 #define CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | |
11 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
12 #include "chromeos/chromeos_export.h" | 12 #include "chromeos/chromeos_export.h" |
13 #include "chromeos/dbus/shill_manager_client.h" | 13 #include "chromeos/dbus/shill_manager_client.h" |
14 | 14 |
15 namespace net { | 15 namespace net { |
16 class IPEndPoint; | 16 class IPEndPoint; |
17 } | 17 } |
18 | 18 |
19 namespace chromeos { | 19 namespace chromeos { |
20 | 20 |
21 // A fake implementation of ShillManagerClient. This works in close coordination | 21 // A fake implementation of ShillManagerClient. This works in close coordination |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 // Note: This should remain the last member so it'll be destroyed and | 164 // Note: This should remain the last member so it'll be destroyed and |
165 // invalidate its weak pointers before any other members are destroyed. | 165 // invalidate its weak pointers before any other members are destroyed. |
166 base::WeakPtrFactory<FakeShillManagerClient> weak_ptr_factory_; | 166 base::WeakPtrFactory<FakeShillManagerClient> weak_ptr_factory_; |
167 | 167 |
168 DISALLOW_COPY_AND_ASSIGN(FakeShillManagerClient); | 168 DISALLOW_COPY_AND_ASSIGN(FakeShillManagerClient); |
169 }; | 169 }; |
170 | 170 |
171 } // namespace chromeos | 171 } // namespace chromeos |
172 | 172 |
173 #endif // CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ | 173 #endif // CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ |
OLD | NEW |