OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ |
6 #define CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ | 6 #define CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 27 matching lines...) Expand all Loading... |
38 void StartSession(const cryptohome::Identification& cryptohome_id) override; | 38 void StartSession(const cryptohome::Identification& cryptohome_id) override; |
39 void StopSession() override; | 39 void StopSession() override; |
40 void NotifySupervisedUserCreationStarted() override; | 40 void NotifySupervisedUserCreationStarted() override; |
41 void NotifySupervisedUserCreationFinished() override; | 41 void NotifySupervisedUserCreationFinished() override; |
42 void StartDeviceWipe() override; | 42 void StartDeviceWipe() override; |
43 void RequestLockScreen() override; | 43 void RequestLockScreen() override; |
44 void NotifyLockScreenShown() override; | 44 void NotifyLockScreenShown() override; |
45 void NotifyLockScreenDismissed() override; | 45 void NotifyLockScreenDismissed() override; |
46 void RetrieveActiveSessions(const ActiveSessionsCallback& callback) override; | 46 void RetrieveActiveSessions(const ActiveSessionsCallback& callback) override; |
47 void RetrieveDevicePolicy(const RetrievePolicyCallback& callback) override; | 47 void RetrieveDevicePolicy(const RetrievePolicyCallback& callback) override; |
48 RetrievePolicyResponseType BlockingRetrieveDevicePolicy( | 48 std::string BlockingRetrieveDevicePolicy() override; |
49 std::string* policy_out) override; | |
50 void RetrievePolicyForUser(const cryptohome::Identification& cryptohome_id, | 49 void RetrievePolicyForUser(const cryptohome::Identification& cryptohome_id, |
51 const RetrievePolicyCallback& callback) override; | 50 const RetrievePolicyCallback& callback) override; |
52 RetrievePolicyResponseType BlockingRetrievePolicyForUser( | 51 std::string BlockingRetrievePolicyForUser( |
53 const cryptohome::Identification& cryptohome_id, | 52 const cryptohome::Identification& cryptohome_id) override; |
54 std::string* policy_out) override; | |
55 void RetrieveDeviceLocalAccountPolicy( | 53 void RetrieveDeviceLocalAccountPolicy( |
56 const std::string& account_id, | 54 const std::string& account_id, |
57 const RetrievePolicyCallback& callback) override; | 55 const RetrievePolicyCallback& callback) override; |
58 RetrievePolicyResponseType BlockingRetrieveDeviceLocalAccountPolicy( | 56 std::string BlockingRetrieveDeviceLocalAccountPolicy( |
59 const std::string& account_id, | 57 const std::string& account_id) override; |
60 std::string* policy_out) override; | |
61 void StoreDevicePolicy(const std::string& policy_blob, | 58 void StoreDevicePolicy(const std::string& policy_blob, |
62 const StorePolicyCallback& callback) override; | 59 const StorePolicyCallback& callback) override; |
63 void StorePolicyForUser(const cryptohome::Identification& cryptohome_id, | 60 void StorePolicyForUser(const cryptohome::Identification& cryptohome_id, |
64 const std::string& policy_blob, | 61 const std::string& policy_blob, |
65 const StorePolicyCallback& callback) override; | 62 const StorePolicyCallback& callback) override; |
66 void StoreDeviceLocalAccountPolicy( | 63 void StoreDeviceLocalAccountPolicy( |
67 const std::string& account_id, | 64 const std::string& account_id, |
68 const std::string& policy_blob, | 65 const std::string& policy_blob, |
69 const StorePolicyCallback& callback) override; | 66 const StorePolicyCallback& callback) override; |
70 bool SupportsRestartToApplyUserFlags() const override; | 67 bool SupportsRestartToApplyUserFlags() const override; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 int notify_lock_screen_dismissed_call_count_; | 139 int notify_lock_screen_dismissed_call_count_; |
143 | 140 |
144 bool arc_available_; | 141 bool arc_available_; |
145 | 142 |
146 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); | 143 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); |
147 }; | 144 }; |
148 | 145 |
149 } // namespace chromeos | 146 } // namespace chromeos |
150 | 147 |
151 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ | 148 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ |
OLD | NEW |