Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: chrome/browser/chromeos/settings/device_settings_test_helper.cc

Issue 228703004: Start session fail causes restart chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed more browser tests Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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) {}
120 122
121 void DeviceSettingsTestHelper::StopSession() {} 123 void DeviceSettingsTestHelper::StopSession() {}
122 124
123 void DeviceSettingsTestHelper::StartDeviceWipe() {} 125 void DeviceSettingsTestHelper::StartDeviceWipe() {}
124 126
125 void DeviceSettingsTestHelper::RequestLockScreen() {} 127 void DeviceSettingsTestHelper::RequestLockScreen() {}
126 128
127 void DeviceSettingsTestHelper::NotifyLockScreenShown() {} 129 void DeviceSettingsTestHelper::NotifyLockScreenShown() {}
128 130
129 void DeviceSettingsTestHelper::NotifyLockScreenDismissed() {} 131 void DeviceSettingsTestHelper::NotifyLockScreenDismissed() {}
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 void DeviceSettingsTestBase::FlushDeviceSettings() { 237 void DeviceSettingsTestBase::FlushDeviceSettings() {
236 device_settings_test_helper_.Flush(); 238 device_settings_test_helper_.Flush();
237 } 239 }
238 240
239 void DeviceSettingsTestBase::ReloadDeviceSettings() { 241 void DeviceSettingsTestBase::ReloadDeviceSettings() {
240 device_settings_service_.OwnerKeySet(true); 242 device_settings_service_.OwnerKeySet(true);
241 FlushDeviceSettings(); 243 FlushDeviceSettings();
242 } 244 }
243 245
244 } // namespace chromeos 246 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698