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

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

Issue 268293002: Revert of Start session fail causes restart chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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( 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
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
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/settings/device_settings_test_helper.h ('k') | chromeos/dbus/fake_session_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698