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

Issue 2811593004: [ios] Allow having multiple session windows in a session. (Closed)

Created:
3 years, 8 months ago by sdefresne
Modified:
3 years, 8 months ago
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[ios] Allow having multiple session windows in a session. With the new architecture, there can be multiple WebStateList per ChromeBrowserState (due to BrowserList owning multiple Browsers). Introduce SessionIOS that store the information about a session (e.g. a BrowserList) with a list of SessionWindowIOS objects and change SessionServiceIOS to use SessionIOS in its API. Add support for loading legacy saved session with a single root object of type SessionWindowIOS by creating a SessionIOS on the fly. BUG=710848 Review-Url: https://codereview.chromium.org/2811593004 Cr-Commit-Position: refs/heads/master@{#465623} Committed: https://chromium.googlesource.com/chromium/src/+/dcc6c6ec0d3999a98c28a0124ef6ca232ef907a5

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Introduce SessionIOS. #

Patch Set 4 : Rebase on origin/master. #

Total comments: 8

Patch Set 5 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -119 lines) Patch
M ios/chrome/browser/crash_report/crash_restore_helper.mm View 1 2 3 chunks +16 lines, -11 lines 0 comments Download
M ios/chrome/browser/sessions/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A ios/chrome/browser/sessions/session_ios.h View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
A ios/chrome/browser/sessions/session_ios.mm View 1 2 1 chunk +52 lines, -0 lines 0 comments Download
M ios/chrome/browser/sessions/session_service_ios.h View 1 2 3 2 chunks +17 lines, -17 lines 0 comments Download
M ios/chrome/browser/sessions/session_service_ios.mm View 1 2 6 chunks +32 lines, -20 lines 0 comments Download
M ios/chrome/browser/sessions/session_service_ios_unittest.mm View 1 2 3 4 8 chunks +59 lines, -50 lines 0 comments Download
M ios/chrome/browser/sessions/session_window_ios.h View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M ios/chrome/browser/sessions/test_session_service.mm View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M ios/chrome/browser/tabs/tab_model.mm View 1 2 3 4 5 chunks +8 lines, -6 lines 0 comments Download
M ios/chrome/browser/tabs/tab_model_unittest.mm View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M ios/chrome/browser/test/perf_test_with_bvc_ios.mm View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/main/browser_view_wrangler.mm View 1 2 3 4 2 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 30 (21 generated)
sdefresne
Please take a look.
3 years, 8 months ago (2017-04-10 15:00:53 UTC) #4
marq (ping after 24h)
lgtm
3 years, 8 months ago (2017-04-11 10:47:55 UTC) #11
sdefresne
I've changed the CL to introduce SessionIOS owning a collection of SessionWindowIOS. Could you take ...
3 years, 8 months ago (2017-04-12 11:24:34 UTC) #15
sdefresne
marq: ping
3 years, 8 months ago (2017-04-18 14:07:42 UTC) #19
marq (ping after 24h)
https://codereview.chromium.org/2811593004/diff/60001/ios/chrome/browser/sessions/session_ios.h File ios/chrome/browser/sessions/session_ios.h (right): https://codereview.chromium.org/2811593004/diff/60001/ios/chrome/browser/sessions/session_ios.h#newcode12 ios/chrome/browser/sessions/session_ios.h:12: // Encapsulates everything required to save a session. Maybe ...
3 years, 8 months ago (2017-04-18 15:16:55 UTC) #20
sdefresne
Please take another look. https://codereview.chromium.org/2811593004/diff/60001/ios/chrome/browser/sessions/session_ios.h File ios/chrome/browser/sessions/session_ios.h (right): https://codereview.chromium.org/2811593004/diff/60001/ios/chrome/browser/sessions/session_ios.h#newcode12 ios/chrome/browser/sessions/session_ios.h:12: // Encapsulates everything required to ...
3 years, 8 months ago (2017-04-19 14:54:41 UTC) #23
marq (ping after 24h)
lgtm
3 years, 8 months ago (2017-04-19 15:12:55 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2811593004/80001
3 years, 8 months ago (2017-04-19 15:27:35 UTC) #27
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 15:49:13 UTC) #30
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/dcc6c6ec0d3999a98c28a0124ef6...

Powered by Google App Engine
This is Rietveld 408576698