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