| 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 #ifndef CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 | 81 |
| 82 // SessionManagerClient: | 82 // SessionManagerClient: |
| 83 virtual void Init(dbus::Bus* bus) OVERRIDE; | 83 virtual void Init(dbus::Bus* bus) OVERRIDE; |
| 84 virtual void SetStubDelegate(SessionManagerClient::StubDelegate* delegate) | 84 virtual void SetStubDelegate(SessionManagerClient::StubDelegate* delegate) |
| 85 OVERRIDE; | 85 OVERRIDE; |
| 86 virtual void AddObserver(Observer* observer) OVERRIDE; | 86 virtual void AddObserver(Observer* observer) OVERRIDE; |
| 87 virtual void RemoveObserver(Observer* observer) OVERRIDE; | 87 virtual void RemoveObserver(Observer* observer) OVERRIDE; |
| 88 virtual bool HasObserver(Observer* observer) OVERRIDE; | 88 virtual bool HasObserver(Observer* observer) OVERRIDE; |
| 89 virtual void EmitLoginPromptVisible() OVERRIDE; | 89 virtual void EmitLoginPromptVisible() OVERRIDE; |
| 90 virtual void RestartJob(int pid, const std::string& command_line) OVERRIDE; | 90 virtual void RestartJob(int pid, const std::string& command_line) OVERRIDE; |
| 91 virtual void StartSession(const std::string& user_email, | 91 virtual void StartSession(const std::string& user_email) OVERRIDE; |
| 92 const StartSessionCallback& callback) OVERRIDE; | |
| 93 virtual void StopSession() OVERRIDE; | 92 virtual void StopSession() OVERRIDE; |
| 94 virtual void StartDeviceWipe() OVERRIDE; | 93 virtual void StartDeviceWipe() OVERRIDE; |
| 95 virtual void RequestLockScreen() OVERRIDE; | 94 virtual void RequestLockScreen() OVERRIDE; |
| 96 virtual void NotifyLockScreenShown() OVERRIDE; | 95 virtual void NotifyLockScreenShown() OVERRIDE; |
| 97 virtual void NotifyLockScreenDismissed() OVERRIDE; | 96 virtual void NotifyLockScreenDismissed() OVERRIDE; |
| 98 virtual void RetrieveActiveSessions( | 97 virtual void RetrieveActiveSessions( |
| 99 const ActiveSessionsCallback& callback) OVERRIDE; | 98 const ActiveSessionsCallback& callback) OVERRIDE; |
| 100 virtual void RetrieveDevicePolicy( | 99 virtual void RetrieveDevicePolicy( |
| 101 const RetrievePolicyCallback& callback) OVERRIDE; | 100 const RetrievePolicyCallback& callback) OVERRIDE; |
| 102 virtual void RetrievePolicyForUser( | 101 virtual void RetrievePolicyForUser( |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 | 185 |
| 187 chromeos::FakeDBusThreadManager* fake_dbus_thread_manager_; | 186 chromeos::FakeDBusThreadManager* fake_dbus_thread_manager_; |
| 188 | 187 |
| 189 private: | 188 private: |
| 190 DISALLOW_COPY_AND_ASSIGN(DeviceSettingsTestBase); | 189 DISALLOW_COPY_AND_ASSIGN(DeviceSettingsTestBase); |
| 191 }; | 190 }; |
| 192 | 191 |
| 193 } // namespace chromeos | 192 } // namespace chromeos |
| 194 | 193 |
| 195 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ | 194 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ |
| OLD | NEW |