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

Issue 1910693002: Avoid the long merge session throttle interstitial page for NTP on Chrome OS (Closed)

Created:
4 years, 8 months ago by afakhry
Modified:
4 years, 8 months ago
CC:
chromium-reviews, donnd+watch_chromium.org, melevin+watch_chromium.org, samarth+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, dzhioev+watch_chromium.org, achuith+watch_chromium.org, jfweitz+watch_chromium.org, David Black, davemoore+watch_chromium.org, oshima+watch_chromium.org, kmadhusu+watch_chromium.org, skanuj+watch_chromium.org, Jered
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid the long merge session throttle interstitial page for NTP on Chrome OS While the session is being merged, opening the NTP while cause the throttling interstitial page to kick in, which can cause a delay in displaying the page for 5+ seconds. Instead we should force loading the local NTP until the merge session is complete. BUG=591530 Committed: https://crrev.com/96379036a48ce6ee82040597d5e9b930c21a7a3d Cr-Commit-Position: refs/heads/master@{#389514}

Patch Set 1 #

Total comments: 4

Patch Set 2 : treib's comments #

Total comments: 2

Patch Set 3 : treib's nit. #

Total comments: 2

Patch Set 4 : piman's nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -11 lines) Patch
M chrome/browser/chromeos/login/signin/merge_session_navigation_throttle.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/signin/merge_session_resource_throttle.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/signin/merge_session_throttling_utils.cc View 1 2 3 3 chunks +10 lines, -6 lines 0 comments Download
M chrome/browser/search/search.cc View 1 2 3 3 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
afakhry
Can you please take a look at this suggested fix? Thanks!
4 years, 8 months ago (2016-04-21 00:23:11 UTC) #2
Marc Treib
This looks generally fine to me, but I'd like another pair of eyes to make ...
4 years, 8 months ago (2016-04-21 08:32:12 UTC) #4
afakhry
https://codereview.chromium.org/1910693002/diff/1/chrome/browser/search/search.cc File chrome/browser/search/search.cc (right): https://codereview.chromium.org/1910693002/diff/1/chrome/browser/search/search.cc#newcode16 chrome/browser/search/search.cc:16: #include "chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h" On 2016/04/21 08:32:12, Marc Treib wrote: > ...
4 years, 8 months ago (2016-04-21 17:04:09 UTC) #5
Marc Treib
Thanks! LGTM with one more nit (but please wait for kmadhusu@ to take a look ...
4 years, 8 months ago (2016-04-21 19:53:38 UTC) #6
afakhry
+piman@chromium.org: Could you please review: merge_session_throttling_utils.cc merge_session_throttling_utils.h ? Thanks! https://codereview.chromium.org/1910693002/diff/20001/chrome/browser/search/search.cc File chrome/browser/search/search.cc (right): https://codereview.chromium.org/1910693002/diff/20001/chrome/browser/search/search.cc#newcode252 chrome/browser/search/search.cc:252: ...
4 years, 8 months ago (2016-04-22 00:41:15 UTC) #8
piman
LGTM+nit https://codereview.chromium.org/1910693002/diff/40001/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h File chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h (right): https://codereview.chromium.org/1910693002/diff/40001/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h#newcode38 chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h:38: bool ShouldDelayRequest(Profile* profile); nit: avoid overloading. Maybe use ...
4 years, 8 months ago (2016-04-22 00:53:20 UTC) #9
afakhry
https://codereview.chromium.org/1910693002/diff/40001/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h File chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h (right): https://codereview.chromium.org/1910693002/diff/40001/chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h#newcode38 chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h:38: bool ShouldDelayRequest(Profile* profile); On 2016/04/22 00:53:20, piman wrote: > ...
4 years, 8 months ago (2016-04-22 02:27:46 UTC) #10
piman
lgtm
4 years, 8 months ago (2016-04-22 04:06:41 UTC) #11
xiyuan
lgtm
4 years, 8 months ago (2016-04-22 19:56:18 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1910693002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1910693002/60001
4 years, 8 months ago (2016-04-25 16:47:03 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-25 18:24:24 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-25 18:26:20 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/96379036a48ce6ee82040597d5e9b930c21a7a3d
Cr-Commit-Position: refs/heads/master@{#389514}

Powered by Google App Engine
This is Rietveld 408576698