| 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( | 119 void DeviceSettingsTestHelper::StartSession(const std::string& user_email) {} |
| 120 const std::string& user_email, | |
| 121 const StartSessionCallback& callback) { | |
| 122 } | |
| 123 | 120 |
| 124 void DeviceSettingsTestHelper::StopSession() {} | 121 void DeviceSettingsTestHelper::StopSession() {} |
| 125 | 122 |
| 126 void DeviceSettingsTestHelper::StartDeviceWipe() {} | 123 void DeviceSettingsTestHelper::StartDeviceWipe() {} |
| 127 | 124 |
| 128 void DeviceSettingsTestHelper::RequestLockScreen() {} | 125 void DeviceSettingsTestHelper::RequestLockScreen() {} |
| 129 | 126 |
| 130 void DeviceSettingsTestHelper::NotifyLockScreenShown() {} | 127 void DeviceSettingsTestHelper::NotifyLockScreenShown() {} |
| 131 | 128 |
| 132 void DeviceSettingsTestHelper::NotifyLockScreenDismissed() {} | 129 void DeviceSettingsTestHelper::NotifyLockScreenDismissed() {} |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 void DeviceSettingsTestBase::FlushDeviceSettings() { | 235 void DeviceSettingsTestBase::FlushDeviceSettings() { |
| 239 device_settings_test_helper_.Flush(); | 236 device_settings_test_helper_.Flush(); |
| 240 } | 237 } |
| 241 | 238 |
| 242 void DeviceSettingsTestBase::ReloadDeviceSettings() { | 239 void DeviceSettingsTestBase::ReloadDeviceSettings() { |
| 243 device_settings_service_.OwnerKeySet(true); | 240 device_settings_service_.OwnerKeySet(true); |
| 244 FlushDeviceSettings(); | 241 FlushDeviceSettings(); |
| 245 } | 242 } |
| 246 | 243 |
| 247 } // namespace chromeos | 244 } // namespace chromeos |
| OLD | NEW |