| 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 | 10 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 virtual void StoreDevicePolicy(const std::string& policy_blob, | 50 virtual void StoreDevicePolicy(const std::string& policy_blob, |
| 51 const StorePolicyCallback& callback) OVERRIDE; | 51 const StorePolicyCallback& callback) OVERRIDE; |
| 52 virtual void StorePolicyForUser(const std::string& username, | 52 virtual void StorePolicyForUser(const std::string& username, |
| 53 const std::string& policy_blob, | 53 const std::string& policy_blob, |
| 54 const std::string& policy_key, | 54 const std::string& policy_key, |
| 55 const StorePolicyCallback& callback) OVERRIDE; | 55 const StorePolicyCallback& callback) OVERRIDE; |
| 56 virtual void StoreDeviceLocalAccountPolicy( | 56 virtual void StoreDeviceLocalAccountPolicy( |
| 57 const std::string& account_id, | 57 const std::string& account_id, |
| 58 const std::string& policy_blob, | 58 const std::string& policy_blob, |
| 59 const StorePolicyCallback& callback) OVERRIDE; | 59 const StorePolicyCallback& callback) OVERRIDE; |
| 60 virtual void SetFlagsForUser(const std::string& username, |
| 61 const std::vector<std::string>& flags) OVERRIDE; |
| 60 | 62 |
| 61 const std::string& device_policy() const; | 63 const std::string& device_policy() const; |
| 62 void set_device_policy(const std::string& policy_blob); | 64 void set_device_policy(const std::string& policy_blob); |
| 63 | 65 |
| 64 const std::string& user_policy(const std::string& username) const; | 66 const std::string& user_policy(const std::string& username) const; |
| 65 void set_user_policy(const std::string& username, | 67 void set_user_policy(const std::string& username, |
| 66 const std::string& policy_blob); | 68 const std::string& policy_blob); |
| 67 | 69 |
| 68 const std::string& device_local_account_policy( | 70 const std::string& device_local_account_policy( |
| 69 const std::string& account_id) const; | 71 const std::string& account_id) const; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 98 int emit_login_prompt_ready_call_count_; | 100 int emit_login_prompt_ready_call_count_; |
| 99 int notify_lock_screen_shown_call_count_; | 101 int notify_lock_screen_shown_call_count_; |
| 100 int notify_lock_screen_dismissed_call_count_; | 102 int notify_lock_screen_dismissed_call_count_; |
| 101 | 103 |
| 102 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); | 104 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); |
| 103 }; | 105 }; |
| 104 | 106 |
| 105 } // namespace chromeos | 107 } // namespace chromeos |
| 106 | 108 |
| 107 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ | 109 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ |
| OLD | NEW |