Darin Petkov | 394b7d4 | 2011-11-03 15:48:02 +0100 | [diff] [blame] | 1 | // Copyright (c) 2011 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 SHILL_MOCK_POWER_MANAGER_PROXY_H_ |
| 6 | #define SHILL_MOCK_POWER_MANAGER_PROXY_H_ |
| 7 | |
| 8 | #include <base/basictypes.h> |
| 9 | #include <gmock/gmock.h> |
| 10 | |
| 11 | #include "shill/power_manager_proxy_interface.h" |
| 12 | |
| 13 | namespace shill { |
| 14 | |
| 15 | class MockPowerManagerProxy : public PowerManagerProxyInterface { |
| 16 | public: |
| 17 | MockPowerManagerProxy(); |
| 18 | virtual ~MockPowerManagerProxy(); |
| 19 | |
| 20 | MOCK_METHOD1(RegisterSuspendDelay, void(uint32 delay_ms)); |
| 21 | |
| 22 | private: |
| 23 | DISALLOW_COPY_AND_ASSIGN(MockPowerManagerProxy); |
| 24 | }; |
| 25 | |
| 26 | } // namespace shill |
| 27 | |
| 28 | #endif // SHILL_MOCK_POWER_MANAGER_PROXY_H_ |