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

Issue 2737203002: Remove CRWSessionEntry. (Closed)

Created:
3 years, 9 months ago by kkhorimoto
Modified:
3 years, 9 months ago
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, Eugene But (OOO till 7-30), pkl (ping after 24h if needed), ios-reviews+web_chromium.org, noyau+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove CRWSessionEntry. Since all clients of CRWSessionController have been updated to use NavigationItems, it is now safe to remove CRWSessionEntry. This CL updates CRWSessionController implementation to directly own NavigationItems rather than owning them transitively through CRWSessionEntry. BUG=454984 Review-Url: https://codereview.chromium.org/2737203002 Cr-Commit-Position: refs/heads/master@{#455923} Committed: https://chromium.googlesource.com/chromium/src/+/8c2eb6f1104b23158bb846bd6d4f8bdfa8125a56

Patch Set 1 #

Patch Set 2 : self review #

Total comments: 19

Patch Set 3 : Eugene's comments #

Patch Set 4 : fix XCode-clang build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+353 lines, -526 lines) Patch
M ios/chrome/browser/ui/history/tab_history_popup_controller_unittest.mm View 3 chunks +7 lines, -4 lines 0 comments Download
M ios/web/BUILD.gn View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M ios/web/navigation/crw_session_controller.h View 1 2 6 chunks +10 lines, -25 lines 0 comments Download
M ios/web/navigation/crw_session_controller.mm View 1 2 20 chunks +260 lines, -317 lines 0 comments Download
M ios/web/navigation/crw_session_controller_unittest.mm View 1 2 3 24 chunks +46 lines, -49 lines 0 comments Download
D ios/web/navigation/crw_session_entry.h View 1 chunk +0 lines, -45 lines 0 comments Download
D ios/web/navigation/crw_session_entry.mm View 1 chunk +0 lines, -68 lines 0 comments Download
M ios/web/navigation/navigation_item_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M ios/web/navigation/navigation_item_impl_list.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ios/web/navigation/navigation_item_impl_list.mm View 1 chunk +9 lines, -0 lines 0 comments Download
M ios/web/navigation/navigation_manager_impl.mm View 4 chunks +5 lines, -4 lines 0 comments Download
M ios/web/navigation/session_storage_builder.mm View 1 chunk +1 line, -2 lines 0 comments Download
M ios/web/public/web_state/ui/crw_web_delegate.h View 1 chunk +0 lines, -1 line 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 3 chunks +5 lines, -5 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller_unittest.mm View 1 chunk +5 lines, -3 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 19 (13 generated)
kkhorimoto
Reland of my previous CL: https://codereview.chromium.org/2672953005 The code is mostly the same except for changes ...
3 years, 9 months ago (2017-03-09 02:58:49 UTC) #4
Eugene But (OOO till 7-30)
Woohoo! https://codereview.chromium.org/2737203002/diff/20001/ios/web/navigation/crw_session_controller.mm File ios/web/navigation/crw_session_controller.mm (left): https://codereview.chromium.org/2737203002/diff/20001/ios/web/navigation/crw_session_controller.mm#oldcode146 ios/web/navigation/crw_session_controller.mm:146: // Prior to M34, 0 was used as ...
3 years, 9 months ago (2017-03-09 16:10:58 UTC) #7
kkhorimoto
https://codereview.chromium.org/2737203002/diff/20001/ios/web/navigation/crw_session_controller.mm File ios/web/navigation/crw_session_controller.mm (left): https://codereview.chromium.org/2737203002/diff/20001/ios/web/navigation/crw_session_controller.mm#oldcode146 ios/web/navigation/crw_session_controller.mm:146: // Prior to M34, 0 was used as "no ...
3 years, 9 months ago (2017-03-09 21:33:54 UTC) #9
Eugene But (OOO till 7-30)
lgtm!
3 years, 9 months ago (2017-03-09 22:07:35 UTC) #13
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/2737203002/60001
3 years, 9 months ago (2017-03-09 23:05:15 UTC) #16
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 00:33:34 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/8c2eb6f1104b23158bb846bd6d4f...

Powered by Google App Engine
This is Rietveld 408576698