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

Unified Diff: chrome/browser/chromeos/login/signin/merge_session_resource_throttle.cc

Issue 1910693002: Avoid the long merge session throttle interstitial page for NTP on Chrome OS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: piman's nit Created 4 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: chrome/browser/chromeos/login/signin/merge_session_resource_throttle.cc
diff --git a/chrome/browser/chromeos/login/signin/merge_session_resource_throttle.cc b/chrome/browser/chromeos/login/signin/merge_session_resource_throttle.cc
index bc73a7359fa7fde0867c6be2ac2d616db0b0dcb1..41d90bfac6eb4bad64ec4fc438b27250593b2f43 100644
--- a/chrome/browser/chromeos/login/signin/merge_session_resource_throttle.cc
+++ b/chrome/browser/chromeos/login/signin/merge_session_resource_throttle.cc
@@ -26,7 +26,8 @@ void DelayXHRLoadOnUIThread(
DCHECK_CURRENTLY_ON(BrowserThread::UI);
WebContents* web_contents = web_contents_getter.Run();
if (web_contents &&
- merge_session_throttling_utils::ShouldDelayRequest(web_contents)) {
+ merge_session_throttling_utils::ShouldDelayRequestForWebContents(
+ web_contents)) {
DVLOG(1) << "Creating XHR waiter for " << url.spec();
Profile* profile =
Profile::FromBrowserContext(web_contents->GetBrowserContext());

Powered by Google App Engine
This is Rietveld 408576698