| 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 void RemoveArcData(const cryptohome::Identification& cryptohome_id, |
| 72 const ArcCallback& callback) override; |
| 72 | 73 |
| 73 const std::string& device_policy() const; | 74 const std::string& device_policy() const; |
| 74 void set_device_policy(const std::string& policy_blob); | 75 void set_device_policy(const std::string& policy_blob); |
| 75 | 76 |
| 76 const std::string& user_policy( | 77 const std::string& user_policy( |
| 77 const cryptohome::Identification& cryptohome_id) const; | 78 const cryptohome::Identification& cryptohome_id) const; |
| 78 void set_user_policy(const cryptohome::Identification& cryptohome_id, | 79 void set_user_policy(const cryptohome::Identification& cryptohome_id, |
| 79 const std::string& policy_blob); | 80 const std::string& policy_blob); |
| 80 | 81 |
| 81 const std::string& device_local_account_policy( | 82 const std::string& device_local_account_policy( |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 int notify_lock_screen_dismissed_call_count_; | 123 int notify_lock_screen_dismissed_call_count_; |
| 123 | 124 |
| 124 bool arc_available_; | 125 bool arc_available_; |
| 125 | 126 |
| 126 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); | 127 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); |
| 127 }; | 128 }; |
| 128 | 129 |
| 129 } // namespace chromeos | 130 } // namespace chromeos |
| 130 | 131 |
| 131 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ | 132 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ |
| OLD | NEW |