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

Unified Diff: chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h

Issue 2537263002: Prevent the pre-session-restore log spam (Closed)
Patch Set: Nit Created 4 years 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/signin/merge_session_throttling_utils.h
diff --git a/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h b/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h
index e1227dabeb056d4098616b6c66f9848a2c49837b..2249868c0664128476da1177cf0f646778972df4 100644
--- a/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h
+++ b/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h
@@ -47,6 +47,9 @@ bool ShouldDelayRequestForWebContents(content::WebContents* web_contents);
// called on any thread.
bool ShouldDelayUrl(const GURL& url);
+// True if session restore hasn't started or in progress.
+bool IsSessionRestorePending(Profile* profile);
+
} // namespace merge_session_throttling_utils
#endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_MERGE_SESSION_THROTTLING_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698