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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 const StorePolicyCallback& callback) override; | 57 const StorePolicyCallback& callback) override; |
58 void StoreDeviceLocalAccountPolicy( | 58 void StoreDeviceLocalAccountPolicy( |
59 const std::string& account_id, | 59 const std::string& account_id, |
60 const std::string& policy_blob, | 60 const std::string& policy_blob, |
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 std::string& socket_path, | 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 | 71 |
72 const std::string& device_policy() const; | 72 const std::string& device_policy() const; |
73 void set_device_policy(const std::string& policy_blob); | 73 void set_device_policy(const std::string& policy_blob); |
74 | 74 |
75 const std::string& user_policy( | 75 const std::string& user_policy( |
76 const cryptohome::Identification& cryptohome_id) const; | 76 const cryptohome::Identification& cryptohome_id) const; |
77 void set_user_policy(const cryptohome::Identification& cryptohome_id, | 77 void set_user_policy(const cryptohome::Identification& cryptohome_id, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 int notify_lock_screen_dismissed_call_count_; | 121 int notify_lock_screen_dismissed_call_count_; |
122 | 122 |
123 bool arc_available_; | 123 bool arc_available_; |
124 | 124 |
125 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); | 125 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); |
126 }; | 126 }; |
127 | 127 |
128 } // namespace chromeos | 128 } // namespace chromeos |
129 | 129 |
130 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ | 130 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ |
OLD | NEW |