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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 const cryptohome::Identification& cryptohome_id, | 193 const cryptohome::Identification& cryptohome_id, |
194 bool disable_boot_completed_broadcast, | 194 bool disable_boot_completed_broadcast, |
195 const StartArcInstanceCallback& callback) {} | 195 const StartArcInstanceCallback& callback) {} |
196 | 196 |
197 void DeviceSettingsTestHelper::StopArcInstance(const ArcCallback& callback) {} | 197 void DeviceSettingsTestHelper::StopArcInstance(const ArcCallback& callback) {} |
198 | 198 |
199 void DeviceSettingsTestHelper::SetArcCpuRestriction( | 199 void DeviceSettingsTestHelper::SetArcCpuRestriction( |
200 login_manager::ContainerCpuRestrictionState restriction_state, | 200 login_manager::ContainerCpuRestrictionState restriction_state, |
201 const ArcCallback& callback) {} | 201 const ArcCallback& callback) {} |
202 | 202 |
203 void DeviceSettingsTestHelper::EmitArcBooted() {} | 203 void DeviceSettingsTestHelper::EmitArcBooted( |
| 204 const cryptohome::Identification& cryptohome_id, |
| 205 const ArcCallback& callback) {} |
204 | 206 |
205 void DeviceSettingsTestHelper::GetArcStartTime( | 207 void DeviceSettingsTestHelper::GetArcStartTime( |
206 const GetArcStartTimeCallback& callback) {} | 208 const GetArcStartTimeCallback& callback) {} |
207 | 209 |
208 void DeviceSettingsTestHelper::RemoveArcData( | 210 void DeviceSettingsTestHelper::RemoveArcData( |
209 const cryptohome::Identification& cryptohome_id, | 211 const cryptohome::Identification& cryptohome_id, |
210 const ArcCallback& callback) {} | 212 const ArcCallback& callback) {} |
211 | 213 |
212 DeviceSettingsTestHelper::PolicyState::PolicyState() | 214 DeviceSettingsTestHelper::PolicyState::PolicyState() |
213 : store_result_(true) {} | 215 : store_result_(true) {} |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 const_cast<user_manager::User*>(user)); | 293 const_cast<user_manager::User*>(user)); |
292 } | 294 } |
293 OwnerSettingsServiceChromeOS* service = | 295 OwnerSettingsServiceChromeOS* service = |
294 OwnerSettingsServiceChromeOSFactory::GetForBrowserContext(profile_.get()); | 296 OwnerSettingsServiceChromeOSFactory::GetForBrowserContext(profile_.get()); |
295 CHECK(service); | 297 CHECK(service); |
296 if (tpm_is_ready) | 298 if (tpm_is_ready) |
297 service->OnTPMTokenReady(true /* token is enabled */); | 299 service->OnTPMTokenReady(true /* token is enabled */); |
298 } | 300 } |
299 | 301 |
300 } // namespace chromeos | 302 } // namespace chromeos |
OLD | NEW |