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

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

Issue 10928088: Factory reset screen is added (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed formatting Created 8 years, 3 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 | Annotate | Revision Log
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.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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698