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

Issue 12256046: Added interstitial page for merge session. (Closed)

Created:
7 years, 10 months ago by zel
Modified:
7 years, 10 months ago
Reviewers:
xiyuan, achuithb, oshima
CC:
chromium-reviews, nkostylev+watch_chromium.org, darin-cc_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Added interstitial page for merge session. This page will let us delay loading of Google properties during ChromeOS cookie session restore at login (aka /MergeSession). The interstitial page will show 3 seconds of no UI (white tab) followed with up to 7 seconds of UI with only "Loading..." message showing in tabs. For huge majority of cases, that secondary UI won't show since merge session will probably complete by then. BUG=171980 TEST=added merge_session_load_page_unittest.cc TBR=sky Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182894

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 34

Patch Set 9 : #

Patch Set 10 : #

Total comments: 6

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+653 lines, -6 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/login/login_utils.cc View 3 chunks +7 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/login/merge_session_load_page.h View 1 2 3 4 5 6 7 8 1 chunk +86 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/login/merge_session_load_page.cc View 1 2 3 4 5 6 7 8 1 chunk +150 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/login/merge_session_load_page_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +127 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/login/merge_session_throttle.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/login/merge_session_throttle.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +103 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/mock_user_manager.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/oauth2_login_manager.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/oauth_login_manager.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager.h View 1 2 chunks +21 lines, -1 line 0 comments Download
chrome/browser/chromeos/login/user_manager_impl.h View 3 chunks +7 lines, -2 lines 0 comments Download
chrome/browser/chromeos/login/user_manager_impl.cc View 1 3 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download
A chrome/browser/resources/chromeos/merge_session_load.html View 1 2 3 4 5 6 7 8 9 1 chunk +61 lines, -0 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
zel
7 years, 10 months ago (2013-02-15 00:11:33 UTC) #1
zel
added tests, PTAL
7 years, 10 months ago (2013-02-15 19:09:30 UTC) #2
oshima
+achuith who worked on offline page more recently than I was. https://codereview.chromium.org/12256046/diff/8004/chrome/browser/chromeos/login/merge_session_load_page.cc File chrome/browser/chromeos/login/merge_session_load_page.cc (right): ...
7 years, 10 months ago (2013-02-15 22:40:52 UTC) #3
zel
https://codereview.chromium.org/12256046/diff/8004/chrome/browser/chromeos/login/merge_session_load_page.cc File chrome/browser/chromeos/login/merge_session_load_page.cc (right): https://codereview.chromium.org/12256046/diff/8004/chrome/browser/chromeos/login/merge_session_load_page.cc#newcode94 chrome/browser/chromeos/login/merge_session_load_page.cc:94: strings.SetString("display_icon", "block"); On 2013/02/15 22:40:52, oshima wrote: > are ...
7 years, 10 months ago (2013-02-15 23:16:57 UTC) #4
xiyuan
https://codereview.chromium.org/12256046/diff/8004/chrome/browser/chromeos/login/merge_session_load_page.h File chrome/browser/chromeos/login/merge_session_load_page.h (right): https://codereview.chromium.org/12256046/diff/8004/chrome/browser/chromeos/login/merge_session_load_page.h#newcode55 chrome/browser/chromeos/login/merge_session_load_page.h:55: virtual void NotifyBlockingPageComplete(bool proceed) OVERRIDE; Test seems no longer ...
7 years, 10 months ago (2013-02-15 23:43:07 UTC) #5
zel
https://codereview.chromium.org/12256046/diff/8004/chrome/browser/chromeos/login/merge_session_load_page.h File chrome/browser/chromeos/login/merge_session_load_page.h (right): https://codereview.chromium.org/12256046/diff/8004/chrome/browser/chromeos/login/merge_session_load_page.h#newcode55 chrome/browser/chromeos/login/merge_session_load_page.h:55: virtual void NotifyBlockingPageComplete(bool proceed) OVERRIDE; On 2013/02/15 23:43:07, xiyuan ...
7 years, 10 months ago (2013-02-15 23:51:05 UTC) #6
xiyuan
LGTM
7 years, 10 months ago (2013-02-15 23:55:20 UTC) #7
oshima
lgtm with nits https://codereview.chromium.org/12256046/diff/14002/chrome/browser/chromeos/login/merge_session_throttle.cc File chrome/browser/chromeos/login/merge_session_throttle.cc (right): https://codereview.chromium.org/12256046/diff/14002/chrome/browser/chromeos/login/merge_session_throttle.cc#newcode7 chrome/browser/chromeos/login/merge_session_throttle.cc:7: #include <vector> nit: this isn't necessary? ...
7 years, 10 months ago (2013-02-16 00:05:23 UTC) #8
zel
https://codereview.chromium.org/12256046/diff/14002/chrome/browser/chromeos/login/merge_session_throttle.cc File chrome/browser/chromeos/login/merge_session_throttle.cc (right): https://codereview.chromium.org/12256046/diff/14002/chrome/browser/chromeos/login/merge_session_throttle.cc#newcode7 chrome/browser/chromeos/login/merge_session_throttle.cc:7: #include <vector> On 2013/02/16 00:05:23, oshima wrote: > nit: ...
7 years, 10 months ago (2013-02-16 00:56:27 UTC) #9
commit-bot: I haz the power
7 years, 10 months ago (2013-02-16 01:10:45 UTC) #10

Powered by Google App Engine
This is Rietveld 408576698