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

Side by Side Diff: chromeos/dbus/session_manager_client.h

Issue 10928088: Factory reset screen is added (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update 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 #ifndef CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_
6 #define CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_ 6 #define CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "chromeos/chromeos_export.h" 10 #include "chromeos/chromeos_export.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // Restarts entd (the enterprise daemon). 55 // Restarts entd (the enterprise daemon).
56 // DEPRECATED: will be deleted soon. 56 // DEPRECATED: will be deleted soon.
57 virtual void RestartEntd() = 0; 57 virtual void RestartEntd() = 0;
58 58
59 // Starts the session for the user. 59 // Starts the session for the user.
60 virtual void StartSession(const std::string& user_email) = 0; 60 virtual void StartSession(const std::string& user_email) = 0;
61 61
62 // Stops the current session. 62 // Stops the current session.
63 virtual void StopSession() = 0; 63 virtual void StopSession() = 0;
64 64
65 // Starts the factory reset.
66 virtual void StartDeviceWipe() = 0;
67
65 // Locks the screen. 68 // Locks the screen.
66 virtual void RequestLockScreen() = 0; 69 virtual void RequestLockScreen() = 0;
67 70
68 // Notifies that the lock screen is shown. 71 // Notifies that the lock screen is shown.
69 virtual void NotifyLockScreenShown() = 0; 72 virtual void NotifyLockScreenShown() = 0;
70 73
71 // Unlocks the screen. 74 // Unlocks the screen.
72 virtual void RequestUnlockScreen() = 0; 75 virtual void RequestUnlockScreen() = 0;
73 76
74 // Notifies that the lock screen is dismissed. 77 // Notifies that the lock screen is dismissed.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // Create() should be used instead. 121 // Create() should be used instead.
119 SessionManagerClient(); 122 SessionManagerClient();
120 123
121 private: 124 private:
122 DISALLOW_COPY_AND_ASSIGN(SessionManagerClient); 125 DISALLOW_COPY_AND_ASSIGN(SessionManagerClient);
123 }; 126 };
124 127
125 } // namespace chromeos 128 } // namespace chromeos
126 129
127 #endif // CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_ 130 #endif // CHROMEOS_DBUS_SESSION_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698