| 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.h" | 7 #include "base/message_loop.h" |
| 8 #include "base/threading/sequenced_worker_pool.h" | 8 #include "base/threading/sequenced_worker_pool.h" |
| 9 #include "chrome/browser/chromeos/settings/device_settings_service.h" | 9 #include "chrome/browser/chromeos/settings/device_settings_service.h" |
| 10 #include "chrome/browser/chromeos/settings/mock_owner_key_util.h" | 10 #include "chrome/browser/chromeos/settings/mock_owner_key_util.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 70 |
| 71 void DeviceSettingsTestHelper::RestartJob(int pid, | 71 void DeviceSettingsTestHelper::RestartJob(int pid, |
| 72 const std::string& command_line) {} | 72 const std::string& command_line) {} |
| 73 | 73 |
| 74 void DeviceSettingsTestHelper::RestartEntd() {} | 74 void DeviceSettingsTestHelper::RestartEntd() {} |
| 75 | 75 |
| 76 void DeviceSettingsTestHelper::StartSession(const std::string& user_email) {} | 76 void DeviceSettingsTestHelper::StartSession(const std::string& user_email) {} |
| 77 | 77 |
| 78 void DeviceSettingsTestHelper::StopSession() {} | 78 void DeviceSettingsTestHelper::StopSession() {} |
| 79 | 79 |
| 80 void DeviceSettingsTestHelper::StartDeviceWipe() {} |
| 81 |
| 80 void DeviceSettingsTestHelper::RequestLockScreen() {} | 82 void DeviceSettingsTestHelper::RequestLockScreen() {} |
| 81 | 83 |
| 82 void DeviceSettingsTestHelper::NotifyLockScreenShown() {} | 84 void DeviceSettingsTestHelper::NotifyLockScreenShown() {} |
| 83 | 85 |
| 84 void DeviceSettingsTestHelper::RequestUnlockScreen() {} | 86 void DeviceSettingsTestHelper::RequestUnlockScreen() {} |
| 85 | 87 |
| 86 void DeviceSettingsTestHelper::NotifyLockScreenDismissed() {} | 88 void DeviceSettingsTestHelper::NotifyLockScreenDismissed() {} |
| 87 | 89 |
| 88 bool DeviceSettingsTestHelper::GetIsScreenLocked() { | 90 bool DeviceSettingsTestHelper::GetIsScreenLocked() { |
| 89 return false; | 91 return false; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 114 DeviceSettingsService::Get()->Load(); | 116 DeviceSettingsService::Get()->Load(); |
| 115 Flush(); | 117 Flush(); |
| 116 } | 118 } |
| 117 | 119 |
| 118 ScopedDeviceSettingsTestHelper::~ScopedDeviceSettingsTestHelper() { | 120 ScopedDeviceSettingsTestHelper::~ScopedDeviceSettingsTestHelper() { |
| 119 Flush(); | 121 Flush(); |
| 120 DeviceSettingsService::Get()->Shutdown(); | 122 DeviceSettingsService::Get()->Shutdown(); |
| 121 } | 123 } |
| 122 | 124 |
| 123 } // namespace chromeos | 125 } // namespace chromeos |
| OLD | NEW |