Rotate vk display 180 for easier experiment
[chromium-blink-merge.git] / chromeos / dbus / mock_session_manager_client.h
bloba75a4e99581babeda6edc9978b77d9ec631b2673
1 // Copyright (c) 2012 The Chromium 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.
5 #ifndef CHROMEOS_DBUS_MOCK_SESSION_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_MOCK_SESSION_MANAGER_CLIENT_H_
8 #include <string>
10 #include "chromeos/dbus/session_manager_client.h"
11 #include "testing/gmock/include/gmock/gmock.h"
13 namespace chromeos {
15 class MockSessionManagerClient : public SessionManagerClient {
16 public:
17 MockSessionManagerClient();
18 virtual ~MockSessionManagerClient();
20 MOCK_METHOD1(Init, void(dbus::Bus* bus));
21 MOCK_METHOD1(AddObserver, void(Observer*));
22 MOCK_METHOD1(RemoveObserver, void(Observer*));
23 MOCK_METHOD1(HasObserver, bool(Observer*));
24 MOCK_METHOD0(EmitLoginPromptReady, void(void));
25 MOCK_METHOD0(EmitLoginPromptVisible, void(void));
26 MOCK_METHOD2(RestartJob, void(int, const std::string&));
27 MOCK_METHOD1(StartSession, void(const std::string&));
28 MOCK_METHOD0(StopSession, void(void));
29 MOCK_METHOD0(StartDeviceWipe, void(void));
30 MOCK_METHOD0(RequestLockScreen, void(void));
31 MOCK_METHOD0(NotifyLockScreenShown, void(void));
32 MOCK_METHOD0(NotifyLockScreenDismissed, void(void));
33 MOCK_METHOD1(RetrieveActiveSessions, void(const ActiveSessionsCallback&));
34 MOCK_METHOD1(RetrieveDevicePolicy, void(const RetrievePolicyCallback&));
35 MOCK_METHOD2(RetrievePolicyForUser,
36 void(const std::string&,
37 const RetrievePolicyCallback&));
38 MOCK_METHOD1(BlockingRetrievePolicyForUser, std::string(const std::string&));
39 MOCK_METHOD2(RetrieveDeviceLocalAccountPolicy,
40 void(const std::string&,
41 const RetrievePolicyCallback&));
42 MOCK_METHOD2(StoreDevicePolicy,
43 void(const std::string&,
44 const StorePolicyCallback&));
45 MOCK_METHOD4(StorePolicyForUser,
46 void(const std::string&,
47 const std::string&,
48 const std::string&,
49 const StorePolicyCallback&));
50 MOCK_METHOD3(StoreDeviceLocalAccountPolicy,
51 void(const std::string&,
52 const std::string&,
53 const StorePolicyCallback&));
54 MOCK_METHOD2(SetFlagsForUser,
55 void(const std::string&,
56 const std::vector<std::string>&));
59 } // namespace chromeos
61 #endif // CHROMEOS_DBUS_MOCK_SESSION_MANAGER_CLIENT_H_