Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Unified Diff: chrome/browser/chromeos/dbus/mock_power_manager_client.h

Issue 9838085: Move files inside chrome/browser/chromeos/dbus to chromeos/dbus (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/dbus/mock_power_manager_client.h
diff --git a/chrome/browser/chromeos/dbus/mock_power_manager_client.h b/chrome/browser/chromeos/dbus/mock_power_manager_client.h
deleted file mode 100644
index dd95aa62a3f278e2b13a3d39e5500784f551aaa9..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/dbus/mock_power_manager_client.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) 2012 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_CHROMEOS_DBUS_MOCK_POWER_MANAGER_CLIENT_H_
-#define CHROME_BROWSER_CHROMEOS_DBUS_MOCK_POWER_MANAGER_CLIENT_H_
-
-#include <string>
-
-#include "chrome/browser/chromeos/dbus/power_manager_client.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace chromeos {
-
-class MockPowerManagerClient : public PowerManagerClient {
- public:
- MockPowerManagerClient();
- virtual ~MockPowerManagerClient();
-
- MOCK_METHOD1(AddObserver, void(Observer*));
- MOCK_METHOD1(RemoveObserver, void(Observer*));
- MOCK_METHOD1(HasObserver, bool(Observer*));
- MOCK_METHOD1(DecreaseScreenBrightness, void(bool));
- MOCK_METHOD0(IncreaseScreenBrightness, void(void));
- MOCK_METHOD2(SetScreenBrightnessPercent, void(double, bool));
- MOCK_METHOD1(GetScreenBrightnessPercent,
- void(const GetScreenBrightnessPercentCallback&));
- MOCK_METHOD1(RequestStatusUpdate, void(UpdateRequestType));
- MOCK_METHOD0(RequestRestart, void(void));
- MOCK_METHOD0(RequestShutdown, void(void));
- MOCK_METHOD1(CalculateIdleTime, void(const CalculateIdleTimeCallback&));
- MOCK_METHOD1(RequestIdleNotification, void(int64));
- MOCK_METHOD0(RequestActiveNotification, void(void));
- MOCK_METHOD4(RequestPowerStateOverrides, void(uint32,
- uint32,
- int,
- PowerStateRequestIdCallback));
- MOCK_METHOD0(NotifyScreenLockRequested, void(void));
- MOCK_METHOD0(NotifyScreenLockCompleted, void(void));
- MOCK_METHOD0(NotifyScreenUnlockRequested, void(void));
- MOCK_METHOD0(NotifyScreenUnlockCompleted, void(void));
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_DBUS_MOCK_POWER_MANAGER_CLIENT_H_
« no previous file with comments | « chrome/browser/chromeos/dbus/mock_introspectable_client.cc ('k') | chrome/browser/chromeos/dbus/mock_power_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698