Index: chromeos/dbus/session_manager_client.h |
diff --git a/chromeos/dbus/session_manager_client.h b/chromeos/dbus/session_manager_client.h |
index 925ce5cfa171faf119fd6b13104655997d8ed650..414327ed6acf1cdd39fee4a2ba33958e907a366e 100644 |
--- a/chromeos/dbus/session_manager_client.h |
+++ b/chromeos/dbus/session_manager_client.h |
@@ -70,8 +70,10 @@ class CHROMEOS_EXPORT SessionManagerClient : public DBusClient { |
// Restarts a job referenced by |pid| with the provided command line. |
virtual void RestartJob(int pid, const std::string& command_line) = 0; |
+ typedef base::Callback<void(bool success)> StartSessionCallback; |
ygorshenin1
2014/04/10 15:39:22
nit: add an empty line between typedef and followi
Roman Sorokin (ftl)
2014/04/11 07:38:13
Done.
|
// Starts the session for the user. |
- virtual void StartSession(const std::string& user_email) = 0; |
+ virtual void StartSession(const std::string& user_email, |
+ const StartSessionCallback& callback) = 0; |
// Stops the current session. |
virtual void StopSession() = 0; |