Chromium Code Reviews| Index: mock_backlight.h |
| diff --git a/mock_backlight.h b/mock_backlight.h |
| index 14a968485f0f0e2381733d023edce08d5292c7b9..625187403753318d1804616a39ebedac81128f63 100644 |
| --- a/mock_backlight.h |
| +++ b/mock_backlight.h |
| @@ -1,4 +1,4 @@ |
| -// Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| +// Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
|
Simon Que
2011/03/22 22:08:27
Fixed.
|
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| // |
| @@ -16,6 +16,8 @@ class MockBacklight : public BacklightInterface { |
| MOCK_METHOD2(GetBrightness, bool(int64* level, int64* max)); |
| MOCK_METHOD1(GetTargetBrightness, bool(int64* level)); |
| MOCK_METHOD1(SetBrightness, bool(int64 level)); |
| + MOCK_METHOD2(SetScreenOffFunc, void(SIGNAL_CALLBACK_PTR(void, func), |
| + void *data)); |
| }; |
| } // namespace power_manager |