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 std::string BlockingRetrieveDevicePolicy() override; | 48 RetrievePolicyResponseType BlockingRetrieveDevicePolicy( |
| 49 std::string* policy_out) override; |
49 void RetrievePolicyForUser(const cryptohome::Identification& cryptohome_id, | 50 void RetrievePolicyForUser(const cryptohome::Identification& cryptohome_id, |
50 const RetrievePolicyCallback& callback) override; | 51 const RetrievePolicyCallback& callback) override; |
51 std::string BlockingRetrievePolicyForUser( | 52 RetrievePolicyResponseType BlockingRetrievePolicyForUser( |
52 const cryptohome::Identification& cryptohome_id) override; | 53 const cryptohome::Identification& cryptohome_id, |
| 54 std::string* policy_out) override; |
53 void RetrieveDeviceLocalAccountPolicy( | 55 void RetrieveDeviceLocalAccountPolicy( |
54 const std::string& account_id, | 56 const std::string& account_id, |
55 const RetrievePolicyCallback& callback) override; | 57 const RetrievePolicyCallback& callback) override; |
56 std::string BlockingRetrieveDeviceLocalAccountPolicy( | 58 RetrievePolicyResponseType BlockingRetrieveDeviceLocalAccountPolicy( |
57 const std::string& account_id) override; | 59 const std::string& account_id, |
| 60 std::string* policy_out) override; |
58 void StoreDevicePolicy(const std::string& policy_blob, | 61 void StoreDevicePolicy(const std::string& policy_blob, |
59 const StorePolicyCallback& callback) override; | 62 const StorePolicyCallback& callback) override; |
60 void StorePolicyForUser(const cryptohome::Identification& cryptohome_id, | 63 void StorePolicyForUser(const cryptohome::Identification& cryptohome_id, |
61 const std::string& policy_blob, | 64 const std::string& policy_blob, |
62 const StorePolicyCallback& callback) override; | 65 const StorePolicyCallback& callback) override; |
63 void StoreDeviceLocalAccountPolicy( | 66 void StoreDeviceLocalAccountPolicy( |
64 const std::string& account_id, | 67 const std::string& account_id, |
65 const std::string& policy_blob, | 68 const std::string& policy_blob, |
66 const StorePolicyCallback& callback) override; | 69 const StorePolicyCallback& callback) override; |
67 bool SupportsRestartToApplyUserFlags() const override; | 70 bool SupportsRestartToApplyUserFlags() const override; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 int notify_lock_screen_dismissed_call_count_; | 142 int notify_lock_screen_dismissed_call_count_; |
140 | 143 |
141 bool arc_available_; | 144 bool arc_available_; |
142 | 145 |
143 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); | 146 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); |
144 }; | 147 }; |
145 | 148 |
146 } // namespace chromeos | 149 } // namespace chromeos |
147 | 150 |
148 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ | 151 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ |
OLD | NEW |