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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 const StorePolicyCallback& callback) override; | 61 const StorePolicyCallback& callback) override; |
62 void SetFlagsForUser(const cryptohome::Identification& cryptohome_id, | 62 void SetFlagsForUser(const cryptohome::Identification& cryptohome_id, |
63 const std::vector<std::string>& flags) override; | 63 const std::vector<std::string>& flags) override; |
64 void GetServerBackedStateKeys(const StateKeysCallback& callback) override; | 64 void GetServerBackedStateKeys(const StateKeysCallback& callback) override; |
65 | 65 |
66 void CheckArcAvailability(const ArcCallback& callback) override; | 66 void CheckArcAvailability(const ArcCallback& callback) override; |
67 void StartArcInstance(const cryptohome::Identification& cryptohome_id, | 67 void StartArcInstance(const cryptohome::Identification& cryptohome_id, |
68 const ArcCallback& callback) override; | 68 const ArcCallback& callback) override; |
69 void StopArcInstance(const ArcCallback& callback) override; | 69 void StopArcInstance(const ArcCallback& callback) override; |
70 void GetArcStartTime(const GetArcStartTimeCallback& callback) override; | 70 void GetArcStartTime(const GetArcStartTimeCallback& callback) override; |
| 71 void RemoveArcData(const cryptohome::Identification& cryptohome_id) override; |
71 | 72 |
72 const std::string& device_policy() const; | 73 const std::string& device_policy() const; |
73 void set_device_policy(const std::string& policy_blob); | 74 void set_device_policy(const std::string& policy_blob); |
74 | 75 |
75 const std::string& user_policy( | 76 const std::string& user_policy( |
76 const cryptohome::Identification& cryptohome_id) const; | 77 const cryptohome::Identification& cryptohome_id) const; |
77 void set_user_policy(const cryptohome::Identification& cryptohome_id, | 78 void set_user_policy(const cryptohome::Identification& cryptohome_id, |
78 const std::string& policy_blob); | 79 const std::string& policy_blob); |
79 | 80 |
80 const std::string& device_local_account_policy( | 81 const std::string& device_local_account_policy( |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 int notify_lock_screen_dismissed_call_count_; | 122 int notify_lock_screen_dismissed_call_count_; |
122 | 123 |
123 bool arc_available_; | 124 bool arc_available_; |
124 | 125 |
125 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); | 126 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); |
126 }; | 127 }; |
127 | 128 |
128 } // namespace chromeos | 129 } // namespace chromeos |
129 | 130 |
130 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ | 131 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ |
OLD | NEW |