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

Unified Diff: chromeos/dbus/session_manager_client.h

Issue 228703004: Start session fail causes restart chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698