| 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, | |
| 115 const StorePolicyCallback& callback) OVERRIDE; | 114 const StorePolicyCallback& callback) OVERRIDE; |
| 116 virtual void StoreDeviceLocalAccountPolicy( | 115 virtual void StoreDeviceLocalAccountPolicy( |
| 117 const std::string& account_id, | 116 const std::string& account_id, |
| 118 const std::string& policy_blob, | 117 const std::string& policy_blob, |
| 119 const StorePolicyCallback& callback) OVERRIDE; | 118 const StorePolicyCallback& callback) OVERRIDE; |
| 120 virtual void SetFlagsForUser( | 119 virtual void SetFlagsForUser( |
| 121 const std::string& account_id, | 120 const std::string& account_id, |
| 122 const std::vector<std::string>& flags) OVERRIDE; | 121 const std::vector<std::string>& flags) OVERRIDE; |
| 123 | 122 |
| 124 private: | 123 private: |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 | 185 |
| 187 chromeos::FakeDBusThreadManager* fake_dbus_thread_manager_; | 186 chromeos::FakeDBusThreadManager* fake_dbus_thread_manager_; |
| 188 | 187 |
| 189 private: | 188 private: |
| 190 DISALLOW_COPY_AND_ASSIGN(DeviceSettingsTestBase); | 189 DISALLOW_COPY_AND_ASSIGN(DeviceSettingsTestBase); |
| 191 }; | 190 }; |
| 192 | 191 |
| 193 } // namespace chromeos | 192 } // namespace chromeos |
| 194 | 193 |
| 195 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ | 194 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ |
| OLD | NEW |