| 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/policy/proto/chrome_device_policy.pb.h" | 10 #include "chrome/browser/chromeos/policy/proto/chrome_device_policy.pb.h" |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 109 |
| 110 bool DeviceSettingsTestHelper::HasObserver(Observer* observer) { | 110 bool DeviceSettingsTestHelper::HasObserver(Observer* observer) { |
| 111 return false; | 111 return false; |
| 112 } | 112 } |
| 113 | 113 |
| 114 void DeviceSettingsTestHelper::EmitLoginPromptVisible() {} | 114 void DeviceSettingsTestHelper::EmitLoginPromptVisible() {} |
| 115 | 115 |
| 116 void DeviceSettingsTestHelper::RestartJob(int pid, | 116 void DeviceSettingsTestHelper::RestartJob(int pid, |
| 117 const std::string& command_line) {} | 117 const std::string& command_line) {} |
| 118 | 118 |
| 119 void DeviceSettingsTestHelper::StartSession(const std::string& user_email) {} | 119 void DeviceSettingsTestHelper::StartSession( |
| 120 const std::string& user_email, |
| 121 const StartSessionCallback& callback) { |
| 122 } |
| 120 | 123 |
| 121 void DeviceSettingsTestHelper::StopSession() {} | 124 void DeviceSettingsTestHelper::StopSession() {} |
| 122 | 125 |
| 123 void DeviceSettingsTestHelper::StartDeviceWipe() {} | 126 void DeviceSettingsTestHelper::StartDeviceWipe() {} |
| 124 | 127 |
| 125 void DeviceSettingsTestHelper::RequestLockScreen() {} | 128 void DeviceSettingsTestHelper::RequestLockScreen() {} |
| 126 | 129 |
| 127 void DeviceSettingsTestHelper::NotifyLockScreenShown() {} | 130 void DeviceSettingsTestHelper::NotifyLockScreenShown() {} |
| 128 | 131 |
| 129 void DeviceSettingsTestHelper::NotifyLockScreenDismissed() {} | 132 void DeviceSettingsTestHelper::NotifyLockScreenDismissed() {} |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 void DeviceSettingsTestBase::FlushDeviceSettings() { | 238 void DeviceSettingsTestBase::FlushDeviceSettings() { |
| 236 device_settings_test_helper_.Flush(); | 239 device_settings_test_helper_.Flush(); |
| 237 } | 240 } |
| 238 | 241 |
| 239 void DeviceSettingsTestBase::ReloadDeviceSettings() { | 242 void DeviceSettingsTestBase::ReloadDeviceSettings() { |
| 240 device_settings_service_.OwnerKeySet(true); | 243 device_settings_service_.OwnerKeySet(true); |
| 241 FlushDeviceSettings(); | 244 FlushDeviceSettings(); |
| 242 } | 245 } |
| 243 | 246 |
| 244 } // namespace chromeos | 247 } // namespace chromeos |
| OLD | NEW |