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

Issue 1087063003: [Session restore] Expose lazy mode and fix browser tests. (Closed)

Created:
5 years, 8 months ago by Georges Khalil
Modified:
5 years, 8 months ago
Reviewers:
sky
CC:
chromium-reviews, gab, chrisha
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Session restore] Expose lazy mode and fix browser tests. - SessionRestore now exposes IsLoadingActiveTabsOnly - Fixed 2 browser tests that were failing with new behavior - One last telemetry test still failing, will be addressed in a separate CL Notes: - First patchset inverts the default behavior to show tests succeeding - Second patchset restores default behavior BUG= Committed: https://crrev.com/2f469295118ecfdfc41209b4c495ca6cb5644c6f Cr-Commit-Position: refs/heads/master@{#325528}

Patch Set 1 : This has the default behavior inverted, to have the bots run in lazy mode. #

Patch Set 2 : Restore default behavior. #

Total comments: 4

Patch Set 3 : sky@ review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -13 lines) Patch
M chrome/browser/sessions/better_session_restore_browsertest.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/sessions/session_restore.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/sessions/session_restore.cc View 1 2 3 chunks +13 lines, -1 line 0 comments Download
M chrome/browser/sessions/session_restore_delegate.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sessions/session_restore_delegate.cc View 2 chunks +5 lines, -11 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
Georges Khalil
PTAL. - SessionRestore now exposes IsLoadingActiveTabsOnly - Fixed 2 browser tests that were failing with ...
5 years, 8 months ago (2015-04-15 17:58:41 UTC) #9
sky
I got the feeling we were going to nuke the experiment as it didn't pan ...
5 years, 8 months ago (2015-04-15 19:51:38 UTC) #10
Georges Khalil
Experiment is still alive. It's 90/10 on canary/dev and going to be rolled out on ...
5 years, 8 months ago (2015-04-15 19:56:12 UTC) #11
sky
https://codereview.chromium.org/1087063003/diff/140001/chrome/browser/sessions/better_session_restore_browsertest.cc File chrome/browser/sessions/better_session_restore_browsertest.cc (right): https://codereview.chromium.org/1087063003/diff/140001/chrome/browser/sessions/better_session_restore_browsertest.cc#newcode220 chrome/browser/sessions/better_session_restore_browsertest.cc:220: browser()->tab_strip_model()->GetWebContentsAt(0); Is there only ever one webcontents that isn't ...
5 years, 8 months ago (2015-04-16 15:40:10 UTC) #12
Georges Khalil
PTAnL. Tested locally with the default behavior inverted, tests pass. https://codereview.chromium.org/1087063003/diff/140001/chrome/browser/sessions/better_session_restore_browsertest.cc File chrome/browser/sessions/better_session_restore_browsertest.cc (right): https://codereview.chromium.org/1087063003/diff/140001/chrome/browser/sessions/better_session_restore_browsertest.cc#newcode220 ...
5 years, 8 months ago (2015-04-16 18:10:18 UTC) #13
sky
LGTM
5 years, 8 months ago (2015-04-16 19:15:44 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1087063003/160001
5 years, 8 months ago (2015-04-16 19:25:29 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:160001)
5 years, 8 months ago (2015-04-16 22:46:23 UTC) #17
commit-bot: I haz the power
5 years, 8 months ago (2015-04-16 22:48:04 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2f469295118ecfdfc41209b4c495ca6cb5644c6f
Cr-Commit-Position: refs/heads/master@{#325528}

Powered by Google App Engine
This is Rietveld 408576698