blob: bb60e989435213e23d724ad2781227f464ae7c0c [file] [log] [blame]
Jay Srinivasan6f6ea002012-12-14 11:26:28 -08001// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_MOCK_PAYLOAD_STATE_H__
6#define CHROMEOS_PLATFORM_UPDATE_ENGINE_MOCK_PAYLOAD_STATE_H__
7
8#include "gmock/gmock.h"
9#include "update_engine/payload_state.h"
10
11namespace chromeos_update_engine {
12
13class MockPayloadState: public PayloadState {
14 public:
15 MOCK_METHOD1(UpdateFailed, void(ActionExitCode error));
16};
17
18} // namespace chromeos_update_engine
19
20#endif // CHROMEOS_PLATFORM_UPDATE_ENGINE_MOCK_PAYLOAD_STATE_H__