12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- #ifndef UPDATE_ENGINE_SERVICE_OBSERVER_INTERFACE_H_
- #define UPDATE_ENGINE_SERVICE_OBSERVER_INTERFACE_H_
- #include <memory>
- #include <string>
- #include "update_engine/client_library/include/update_engine/update_status.h"
- #include "update_engine/common/error_code.h"
- namespace chromeos_update_engine {
- class ServiceObserverInterface {
- public:
- virtual ~ServiceObserverInterface() = default;
-
-
- virtual void SendStatusUpdate(
- const update_engine::UpdateEngineStatus& update_engine_status) = 0;
-
- virtual void SendPayloadApplicationComplete(ErrorCode error_code) = 0;
- protected:
- ServiceObserverInterface() = default;
- };
- }
- #endif
|