| 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_UPDATE_ENGINE_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_UPDATE_ENGINE_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_UPDATE_ENGINE_CLIENT_H_ | 6 #define CHROMEOS_DBUS_UPDATE_ENGINE_CLIENT_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/macros.h" |
| 11 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
| 12 #include "chromeos/chromeos_export.h" | 15 #include "chromeos/chromeos_export.h" |
| 13 #include "chromeos/dbus/dbus_client.h" | 16 #include "chromeos/dbus/dbus_client.h" |
| 14 #include "chromeos/dbus/dbus_client_implementation_type.h" | 17 #include "chromeos/dbus/dbus_client_implementation_type.h" |
| 15 | 18 |
| 16 namespace chromeos { | 19 namespace chromeos { |
| 17 | 20 |
| 18 // UpdateEngineClient is used to communicate with the update engine. | 21 // UpdateEngineClient is used to communicate with the update engine. |
| 19 class CHROMEOS_EXPORT UpdateEngineClient : public DBusClient { | 22 class CHROMEOS_EXPORT UpdateEngineClient : public DBusClient { |
| 20 public: | 23 public: |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 // Create() should be used instead. | 147 // Create() should be used instead. |
| 145 UpdateEngineClient(); | 148 UpdateEngineClient(); |
| 146 | 149 |
| 147 private: | 150 private: |
| 148 DISALLOW_COPY_AND_ASSIGN(UpdateEngineClient); | 151 DISALLOW_COPY_AND_ASSIGN(UpdateEngineClient); |
| 149 }; | 152 }; |
| 150 | 153 |
| 151 } // namespace chromeos | 154 } // namespace chromeos |
| 152 | 155 |
| 153 #endif // CHROMEOS_DBUS_UPDATE_ENGINE_CLIENT_H_ | 156 #endif // CHROMEOS_DBUS_UPDATE_ENGINE_CLIENT_H_ |
| OLD | NEW |