| 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 <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 const RetrievePolicyCallback& callback) override; | 110 const RetrievePolicyCallback& callback) override; |
| 111 void StoreDevicePolicy(const std::string& policy_blob, | 111 void StoreDevicePolicy(const std::string& policy_blob, |
| 112 const StorePolicyCallback& callback) override; | 112 const StorePolicyCallback& callback) override; |
| 113 void StorePolicyForUser(const cryptohome::Identification& cryptohome_id, | 113 void StorePolicyForUser(const cryptohome::Identification& cryptohome_id, |
| 114 const std::string& policy_blob, | 114 const std::string& policy_blob, |
| 115 const StorePolicyCallback& callback) override; | 115 const StorePolicyCallback& callback) override; |
| 116 void StoreDeviceLocalAccountPolicy( | 116 void StoreDeviceLocalAccountPolicy( |
| 117 const std::string& account_id, | 117 const std::string& account_id, |
| 118 const std::string& policy_blob, | 118 const std::string& policy_blob, |
| 119 const StorePolicyCallback& callback) override; | 119 const StorePolicyCallback& callback) override; |
| 120 bool SupportsRestartToApplyUserFlags() const override; |
| 120 void SetFlagsForUser(const cryptohome::Identification& cryptohome_id, | 121 void SetFlagsForUser(const cryptohome::Identification& cryptohome_id, |
| 121 const std::vector<std::string>& flags) override; | 122 const std::vector<std::string>& flags) override; |
| 122 void GetServerBackedStateKeys(const StateKeysCallback& callback) override; | 123 void GetServerBackedStateKeys(const StateKeysCallback& callback) override; |
| 123 | 124 |
| 124 void CheckArcAvailability(const ArcCallback& callback) override; | 125 void CheckArcAvailability(const ArcCallback& callback) override; |
| 125 void StartArcInstance(const cryptohome::Identification& cryptohome_id, | 126 void StartArcInstance(const cryptohome::Identification& cryptohome_id, |
| 126 bool disable_boot_completed_broadcast, | 127 bool disable_boot_completed_broadcast, |
| 127 const StartArcInstanceCallback& callback) override; | 128 const StartArcInstanceCallback& callback) override; |
| 128 void StopArcInstance(const ArcCallback& callback) override; | 129 void StopArcInstance(const ArcCallback& callback) override; |
| 129 void PrioritizeArcInstance(const ArcCallback& callback) override; | 130 void PrioritizeArcInstance(const ArcCallback& callback) override; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 | 207 |
| 207 std::unique_ptr<DBusThreadManagerSetter> dbus_setter_; | 208 std::unique_ptr<DBusThreadManagerSetter> dbus_setter_; |
| 208 | 209 |
| 209 private: | 210 private: |
| 210 DISALLOW_COPY_AND_ASSIGN(DeviceSettingsTestBase); | 211 DISALLOW_COPY_AND_ASSIGN(DeviceSettingsTestBase); |
| 211 }; | 212 }; |
| 212 | 213 |
| 213 } // namespace chromeos | 214 } // namespace chromeos |
| 214 | 215 |
| 215 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ | 216 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ |
| OLD | NEW |