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

Unified Diff: chrome/browser/chromeos/login/login_utils.h

Issue 322533002: Restart Chrome on ChromeOS as early as possible to speed up restart. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make RestartToApplyPerSessionFlagsIfNeed global function. Created 6 years, 6 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: chrome/browser/chromeos/login/login_utils.h
diff --git a/chrome/browser/chromeos/login/login_utils.h b/chrome/browser/chromeos/login/login_utils.h
index bda1e0a9413699cbe176d3da33494a43d5015149..11c89212a5355c190f5570dcea15be73ac63e791 100644
--- a/chrome/browser/chromeos/login/login_utils.h
+++ b/chrome/browser/chromeos/login/login_utils.h
@@ -108,6 +108,12 @@ class LoginUtils {
virtual void InitRlzDelayed(Profile* user_profile) = 0;
};
+// Initiates process restart if needed.
+// Might not return if restart is possible right now.
+// Returns true if restart was scheduled.
+// Returns false if no restart is needed,
+bool RestartToApplyPerSessionFlagsIfNeed(Profile* profile);
+
} // namespace chromeos
#endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_UTILS_H_
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/login_utils.cc » ('j') | chrome/browser/chromeos/login/login_utils.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698