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_SERVICES_LIVENESS_SERVICE_PROVIDER_H_ | 5 #ifndef CHROMEOS_DBUS_SERVICES_LIVENESS_SERVICE_PROVIDER_H_ |
6 #define CHROMEOS_DBUS_SERVICES_LIVENESS_SERVICE_PROVIDER_H_ | 6 #define CHROMEOS_DBUS_SERVICES_LIVENESS_SERVICE_PROVIDER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | |
11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "chromeos/chromeos_export.h" | 14 #include "chromeos/chromeos_export.h" |
15 #include "chromeos/dbus/services/cros_dbus_service.h" | 15 #include "chromeos/dbus/services/cros_dbus_service.h" |
16 #include "dbus/exported_object.h" | 16 #include "dbus/exported_object.h" |
17 | 17 |
18 namespace dbus { | 18 namespace dbus { |
19 class MethodCall; | 19 class MethodCall; |
20 class Response; | 20 class Response; |
21 } | 21 } |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 // Keep this last so that all weak pointers will be invalidated at the | 57 // Keep this last so that all weak pointers will be invalidated at the |
58 // beginning of destruction. | 58 // beginning of destruction. |
59 base::WeakPtrFactory<LivenessServiceProvider> weak_ptr_factory_; | 59 base::WeakPtrFactory<LivenessServiceProvider> weak_ptr_factory_; |
60 | 60 |
61 DISALLOW_COPY_AND_ASSIGN(LivenessServiceProvider); | 61 DISALLOW_COPY_AND_ASSIGN(LivenessServiceProvider); |
62 }; | 62 }; |
63 | 63 |
64 } // namespace chromeos | 64 } // namespace chromeos |
65 | 65 |
66 #endif // CHROMEOS_DBUS_SERVICES_LIVENESS_SERVICE_PROVIDER_H_ | 66 #endif // CHROMEOS_DBUS_SERVICES_LIVENESS_SERVICE_PROVIDER_H_ |
OLD | NEW |