OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SHILL_CLIENT_HELPER_H_ | 5 #ifndef CHROMEOS_DBUS_SHILL_CLIENT_HELPER_H_ |
6 #define CHROMEOS_DBUS_SHILL_CLIENT_HELPER_H_ | 6 #define CHROMEOS_DBUS_SHILL_CLIENT_HELPER_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 "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
15 #include "base/values.h" | 15 #include "base/values.h" |
16 #include "chromeos/dbus/dbus_method_call_status.h" | 16 #include "chromeos/dbus/dbus_method_call_status.h" |
17 #include "chromeos/dbus/shill_property_changed_observer.h" | 17 #include "chromeos/dbus/shill_property_changed_observer.h" |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 | 20 |
21 class Value; | 21 class Value; |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 // Note: This should remain the last member so it'll be destroyed and | 182 // Note: This should remain the last member so it'll be destroyed and |
183 // invalidate its weak pointers before any other members are destroyed. | 183 // invalidate its weak pointers before any other members are destroyed. |
184 base::WeakPtrFactory<ShillClientHelper> weak_ptr_factory_; | 184 base::WeakPtrFactory<ShillClientHelper> weak_ptr_factory_; |
185 | 185 |
186 DISALLOW_COPY_AND_ASSIGN(ShillClientHelper); | 186 DISALLOW_COPY_AND_ASSIGN(ShillClientHelper); |
187 }; | 187 }; |
188 | 188 |
189 } // namespace chromeos | 189 } // namespace chromeos |
190 | 190 |
191 #endif // CHROMEOS_DBUS_SHILL_CLIENT_HELPER_H_ | 191 #endif // CHROMEOS_DBUS_SHILL_CLIENT_HELPER_H_ |
OLD | NEW |