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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 void GetServerBackedStateKeys(const StateKeysCallback& callback) override; | 67 void GetServerBackedStateKeys(const StateKeysCallback& callback) override; |
68 | 68 |
69 void CheckArcAvailability(const ArcCallback& callback) override; | 69 void CheckArcAvailability(const ArcCallback& callback) override; |
70 void StartArcInstance(const cryptohome::Identification& cryptohome_id, | 70 void StartArcInstance(const cryptohome::Identification& cryptohome_id, |
71 bool disable_boot_completed_broadcast, | 71 bool disable_boot_completed_broadcast, |
72 const StartArcInstanceCallback& callback) override; | 72 const StartArcInstanceCallback& callback) override; |
73 void StopArcInstance(const ArcCallback& callback) override; | 73 void StopArcInstance(const ArcCallback& callback) override; |
74 void SetArcCpuRestriction( | 74 void SetArcCpuRestriction( |
75 login_manager::ContainerCpuRestrictionState restriction_state, | 75 login_manager::ContainerCpuRestrictionState restriction_state, |
76 const ArcCallback& callback) override; | 76 const ArcCallback& callback) override; |
77 void EmitArcBooted() override; | 77 void EmitArcBooted(const cryptohome::Identification& cryptohome_id, |
| 78 const ArcCallback& callback) override; |
78 void GetArcStartTime(const GetArcStartTimeCallback& callback) override; | 79 void GetArcStartTime(const GetArcStartTimeCallback& callback) override; |
79 void RemoveArcData(const cryptohome::Identification& cryptohome_id, | 80 void RemoveArcData(const cryptohome::Identification& cryptohome_id, |
80 const ArcCallback& callback) override; | 81 const ArcCallback& callback) override; |
81 | 82 |
82 const std::string& device_policy() const; | 83 const std::string& device_policy() const; |
83 void set_device_policy(const std::string& policy_blob); | 84 void set_device_policy(const std::string& policy_blob); |
84 | 85 |
85 const std::string& user_policy( | 86 const std::string& user_policy( |
86 const cryptohome::Identification& cryptohome_id) const; | 87 const cryptohome::Identification& cryptohome_id) const; |
87 void set_user_policy(const cryptohome::Identification& cryptohome_id, | 88 void set_user_policy(const cryptohome::Identification& cryptohome_id, |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 int notify_lock_screen_dismissed_call_count_; | 136 int notify_lock_screen_dismissed_call_count_; |
136 | 137 |
137 bool arc_available_; | 138 bool arc_available_; |
138 | 139 |
139 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); | 140 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); |
140 }; | 141 }; |
141 | 142 |
142 } // namespace chromeos | 143 } // namespace chromeos |
143 | 144 |
144 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ | 145 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ |
OLD | NEW |