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

Unified Diff: chrome/browser/browser_shutdown.h

Issue 1931503002: Add BackgroundModeOptimizer that can restart the browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@PushKeepAlive
Patch Set: cleanup, enable by default (that's just to verify the tests) Created 4 years, 5 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/browser_shutdown.h
diff --git a/chrome/browser/browser_shutdown.h b/chrome/browser/browser_shutdown.h
index c3450329d821fe916384dc5a6e38d406e7dfe58e..5ab502fe3685f7d67a7ccba4531b61da8a468b47 100644
--- a/chrome/browser/browser_shutdown.h
+++ b/chrome/browser/browser_shutdown.h
@@ -43,7 +43,8 @@ bool ShutdownPreThreadsStop();
//
// The provided parameter indicates whether a preference to restart
// the session was present.
-void ShutdownPostThreadsStop(bool restart_last_session);
+void ShutdownPostThreadsStop(bool restart_last_session,
sky 2016/07/06 16:55:33 nit: use bitmask to improve readability. Also, doc
dgn 2016/07/22 15:18:09 Done.
+ bool restart_in_background);
#endif
// Called at startup to create a histogram from our previous shutdown time.

Powered by Google App Engine
This is Rietveld 408576698