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

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: 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..a7d786a7debb793bef534321792ca1258f36c75b 100644
--- a/chrome/browser/chromeos/login/login_utils.h
+++ b/chrome/browser/chromeos/login/login_utils.h
@@ -106,6 +106,12 @@ class LoginUtils {
// Initialize RLZ.
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,
+ virtual bool RestartToApplyPerSessionFlagsIfNeed(Profile* profile) = 0;
};
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698