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 #include "chrome/browser/chromeos/settings/device_settings_test_helper.h" | 5 #include "chrome/browser/chromeos/settings/device_settings_test_helper.h" |
6 | 6 |
7 #include "base/message_loop/message_loop.h" | 7 #include "base/message_loop/message_loop.h" |
8 #include "base/run_loop.h" | 8 #include "base/run_loop.h" |
9 #include "base/threading/sequenced_worker_pool.h" | 9 #include "base/threading/sequenced_worker_pool.h" |
10 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h" | 10 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h" |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 | 182 |
183 void DeviceSettingsTestHelper::CheckArcAvailability( | 183 void DeviceSettingsTestHelper::CheckArcAvailability( |
184 const ArcCallback& callback) {} | 184 const ArcCallback& callback) {} |
185 | 185 |
186 void DeviceSettingsTestHelper::StartArcInstance( | 186 void DeviceSettingsTestHelper::StartArcInstance( |
187 const cryptohome::Identification& cryptohome_id, | 187 const cryptohome::Identification& cryptohome_id, |
188 const ArcCallback& callback) {} | 188 const ArcCallback& callback) {} |
189 | 189 |
190 void DeviceSettingsTestHelper::StopArcInstance(const ArcCallback& callback) {} | 190 void DeviceSettingsTestHelper::StopArcInstance(const ArcCallback& callback) {} |
191 | 191 |
| 192 void DeviceSettingsTestHelper::PrioritizeArcInstance( |
| 193 const ArcCallback& callback) {} |
| 194 |
192 void DeviceSettingsTestHelper::GetArcStartTime( | 195 void DeviceSettingsTestHelper::GetArcStartTime( |
193 const GetArcStartTimeCallback& callback) {} | 196 const GetArcStartTimeCallback& callback) {} |
194 | 197 |
195 void DeviceSettingsTestHelper::RemoveArcData( | 198 void DeviceSettingsTestHelper::RemoveArcData( |
196 const cryptohome::Identification& cryptohome_id, | 199 const cryptohome::Identification& cryptohome_id, |
197 const ArcCallback& callback) {} | 200 const ArcCallback& callback) {} |
198 | 201 |
199 DeviceSettingsTestHelper::PolicyState::PolicyState() | 202 DeviceSettingsTestHelper::PolicyState::PolicyState() |
200 : store_result_(true) {} | 203 : store_result_(true) {} |
201 | 204 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 const_cast<user_manager::User*>(user)); | 281 const_cast<user_manager::User*>(user)); |
279 } | 282 } |
280 OwnerSettingsServiceChromeOS* service = | 283 OwnerSettingsServiceChromeOS* service = |
281 OwnerSettingsServiceChromeOSFactory::GetForBrowserContext(profile_.get()); | 284 OwnerSettingsServiceChromeOSFactory::GetForBrowserContext(profile_.get()); |
282 CHECK(service); | 285 CHECK(service); |
283 if (tpm_is_ready) | 286 if (tpm_is_ready) |
284 service->OnTPMTokenReady(true /* token is enabled */); | 287 service->OnTPMTokenReady(true /* token is enabled */); |
285 } | 288 } |
286 | 289 |
287 } // namespace chromeos | 290 } // namespace chromeos |
OLD | NEW |