Chromium Code Reviews| Index: chrome/browser/component_updater/test/component_patcher_mock.h |
| diff --git a/chrome/browser/component_updater/test/component_patcher_mock.h b/chrome/browser/component_updater/test/component_patcher_mock.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a2c74bcceb669929362da559c4b5049b9178f5a9 |
| --- /dev/null |
| +++ b/chrome/browser/component_updater/test/component_patcher_mock.h |
| @@ -0,0 +1,27 @@ |
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_PATCHER_MOCK_H_ |
| +#define CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_PATCHER_MOCK_H_ |
| + |
| +#include "base/compiler_specific.h" |
| +#include "chrome/browser/component_updater/component_patcher.h" |
| + |
| +namespace base { |
| +class FilePath; |
| +} |
| + |
| +class MockComponentPatcher : public ComponentPatcher { |
| + public: |
| + MockComponentPatcher() {} |
| + virtual ComponentUnpacker::Error Patch(PatchType patch_type, |
| + const base::FilePath& input_file, |
| + const base::FilePath& patch_file, |
| + const base::FilePath& output_file, |
| + int* error) OVERRIDE; |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(MockComponentPatcher); |
|
erikwright (departed)
2013/06/17 17:24:28
IWYU: include base/basictypes.h
waffles
2013/06/17 22:17:49
Done.
Sorin Jianu
2013/06/17 22:21:09
Done.
|
| +}; |
| + |
| +#endif // CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_PATCHER_MOCK_H_ |