| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 const RetrievePolicyCallback& callback) OVERRIDE; | 46 const RetrievePolicyCallback& callback) OVERRIDE; |
| 47 virtual std::string BlockingRetrievePolicyForUser( | 47 virtual std::string BlockingRetrievePolicyForUser( |
| 48 const std::string& username) OVERRIDE; | 48 const std::string& username) OVERRIDE; |
| 49 virtual void RetrieveDeviceLocalAccountPolicy( | 49 virtual void RetrieveDeviceLocalAccountPolicy( |
| 50 const std::string& account_id, | 50 const std::string& account_id, |
| 51 const RetrievePolicyCallback& callback) OVERRIDE; | 51 const RetrievePolicyCallback& callback) OVERRIDE; |
| 52 virtual void StoreDevicePolicy(const std::string& policy_blob, | 52 virtual void StoreDevicePolicy(const std::string& policy_blob, |
| 53 const StorePolicyCallback& callback) OVERRIDE; | 53 const StorePolicyCallback& callback) OVERRIDE; |
| 54 virtual void StorePolicyForUser(const std::string& username, | 54 virtual void StorePolicyForUser(const std::string& username, |
| 55 const std::string& policy_blob, | 55 const std::string& policy_blob, |
| 56 const std::string& policy_key, |
| 56 const StorePolicyCallback& callback) OVERRIDE; | 57 const StorePolicyCallback& callback) OVERRIDE; |
| 57 virtual void StoreDeviceLocalAccountPolicy( | 58 virtual void StoreDeviceLocalAccountPolicy( |
| 58 const std::string& account_id, | 59 const std::string& account_id, |
| 59 const std::string& policy_blob, | 60 const std::string& policy_blob, |
| 60 const StorePolicyCallback& callback) OVERRIDE; | 61 const StorePolicyCallback& callback) OVERRIDE; |
| 61 virtual void SetFlagsForUser(const std::string& username, | 62 virtual void SetFlagsForUser(const std::string& username, |
| 62 const std::vector<std::string>& flags) OVERRIDE; | 63 const std::vector<std::string>& flags) OVERRIDE; |
| 63 | 64 |
| 64 const std::string& device_policy() const; | 65 const std::string& device_policy() const; |
| 65 void set_device_policy(const std::string& policy_blob); | 66 void set_device_policy(const std::string& policy_blob); |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 int start_device_wipe_call_count_; | 101 int start_device_wipe_call_count_; |
| 101 int notify_lock_screen_shown_call_count_; | 102 int notify_lock_screen_shown_call_count_; |
| 102 int notify_lock_screen_dismissed_call_count_; | 103 int notify_lock_screen_dismissed_call_count_; |
| 103 | 104 |
| 104 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); | 105 DISALLOW_COPY_AND_ASSIGN(FakeSessionManagerClient); |
| 105 }; | 106 }; |
| 106 | 107 |
| 107 } // namespace chromeos | 108 } // namespace chromeos |
| 108 | 109 |
| 109 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ | 110 #endif // CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_ |
| OLD | NEW |