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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 | 187 |
188 void DeviceSettingsTestHelper::StartArcInstance( | 188 void DeviceSettingsTestHelper::StartArcInstance( |
189 const cryptohome::Identification& cryptohome_id, | 189 const cryptohome::Identification& cryptohome_id, |
190 const ArcCallback& callback) {} | 190 const ArcCallback& callback) {} |
191 | 191 |
192 void DeviceSettingsTestHelper::StopArcInstance(const ArcCallback& callback) {} | 192 void DeviceSettingsTestHelper::StopArcInstance(const ArcCallback& callback) {} |
193 | 193 |
194 void DeviceSettingsTestHelper::PrioritizeArcInstance( | 194 void DeviceSettingsTestHelper::PrioritizeArcInstance( |
195 const ArcCallback& callback) {} | 195 const ArcCallback& callback) {} |
196 | 196 |
| 197 void DeviceSettingsTestHelper::EmitArcBooted() {} |
| 198 |
197 void DeviceSettingsTestHelper::GetArcStartTime( | 199 void DeviceSettingsTestHelper::GetArcStartTime( |
198 const GetArcStartTimeCallback& callback) {} | 200 const GetArcStartTimeCallback& callback) {} |
199 | 201 |
200 void DeviceSettingsTestHelper::RemoveArcData( | 202 void DeviceSettingsTestHelper::RemoveArcData( |
201 const cryptohome::Identification& cryptohome_id, | 203 const cryptohome::Identification& cryptohome_id, |
202 const ArcCallback& callback) {} | 204 const ArcCallback& callback) {} |
203 | 205 |
204 DeviceSettingsTestHelper::PolicyState::PolicyState() | 206 DeviceSettingsTestHelper::PolicyState::PolicyState() |
205 : store_result_(true) {} | 207 : store_result_(true) {} |
206 | 208 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 const_cast<user_manager::User*>(user)); | 285 const_cast<user_manager::User*>(user)); |
284 } | 286 } |
285 OwnerSettingsServiceChromeOS* service = | 287 OwnerSettingsServiceChromeOS* service = |
286 OwnerSettingsServiceChromeOSFactory::GetForBrowserContext(profile_.get()); | 288 OwnerSettingsServiceChromeOSFactory::GetForBrowserContext(profile_.get()); |
287 CHECK(service); | 289 CHECK(service); |
288 if (tpm_is_ready) | 290 if (tpm_is_ready) |
289 service->OnTPMTokenReady(true /* token is enabled */); | 291 service->OnTPMTokenReady(true /* token is enabled */); |
290 } | 292 } |
291 | 293 |
292 } // namespace chromeos | 294 } // namespace chromeos |
OLD | NEW |