1234567891011121314151617181920212223242526272829303132333435 |
- #ifndef UPDATE_ENGINE_MOCK_SERVICE_OBSERVER_H_
- #define UPDATE_ENGINE_MOCK_SERVICE_OBSERVER_H_
- #include <gmock/gmock.h>
- #include "update_engine/service_observer_interface.h"
- namespace chromeos_update_engine {
- class MockServiceObserver : public ServiceObserverInterface {
- public:
- MOCK_METHOD1(
- SendStatusUpdate,
- void(const update_engine::UpdateEngineStatus& update_engine_status));
- MOCK_METHOD1(SendPayloadApplicationComplete, void(ErrorCode error_code));
- };
- }
- #endif
|