| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 const RetrievePolicyCallback& callback) OVERRIDE; | 104 const RetrievePolicyCallback& callback) OVERRIDE; |
| 105 virtual std::string BlockingRetrievePolicyForUser( | 105 virtual std::string BlockingRetrievePolicyForUser( |
| 106 const std::string& username) OVERRIDE; | 106 const std::string& username) OVERRIDE; |
| 107 virtual void RetrieveDeviceLocalAccountPolicy( | 107 virtual void RetrieveDeviceLocalAccountPolicy( |
| 108 const std::string& account_id, | 108 const std::string& account_id, |
| 109 const RetrievePolicyCallback& callback) OVERRIDE; | 109 const RetrievePolicyCallback& callback) OVERRIDE; |
| 110 virtual void StoreDevicePolicy(const std::string& policy_blob, | 110 virtual void StoreDevicePolicy(const std::string& policy_blob, |
| 111 const StorePolicyCallback& callback) OVERRIDE; | 111 const StorePolicyCallback& callback) OVERRIDE; |
| 112 virtual void StorePolicyForUser(const std::string& username, | 112 virtual void StorePolicyForUser(const std::string& username, |
| 113 const std::string& policy_blob, | 113 const std::string& policy_blob, |
| 114 const std::string& policy_key, |
| 114 const StorePolicyCallback& callback) OVERRIDE; | 115 const StorePolicyCallback& callback) OVERRIDE; |
| 115 virtual void StoreDeviceLocalAccountPolicy( | 116 virtual void StoreDeviceLocalAccountPolicy( |
| 116 const std::string& account_id, | 117 const std::string& account_id, |
| 117 const std::string& policy_blob, | 118 const std::string& policy_blob, |
| 118 const StorePolicyCallback& callback) OVERRIDE; | 119 const StorePolicyCallback& callback) OVERRIDE; |
| 119 virtual void SetFlagsForUser( | 120 virtual void SetFlagsForUser( |
| 120 const std::string& account_id, | 121 const std::string& account_id, |
| 121 const std::vector<std::string>& flags) OVERRIDE; | 122 const std::vector<std::string>& flags) OVERRIDE; |
| 122 | 123 |
| 123 private: | 124 private: |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 | 186 |
| 186 chromeos::FakeDBusThreadManager* fake_dbus_thread_manager_; | 187 chromeos::FakeDBusThreadManager* fake_dbus_thread_manager_; |
| 187 | 188 |
| 188 private: | 189 private: |
| 189 DISALLOW_COPY_AND_ASSIGN(DeviceSettingsTestBase); | 190 DISALLOW_COPY_AND_ASSIGN(DeviceSettingsTestBase); |
| 190 }; | 191 }; |
| 191 | 192 |
| 192 } // namespace chromeos | 193 } // namespace chromeos |
| 193 | 194 |
| 194 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ | 195 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ |
| OLD | NEW |