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

Issue 2671773005: Updated CRWSessionController interface to use NavigationItems. (Closed)

Created:
3 years, 10 months ago by kkhorimoto
Modified:
3 years, 10 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, pkl (ping after 24h if needed), Eugene But (OOO till 7-30), net-reviews_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

Updated CRWSessionController interface to use NavigationItems. This CL introduces NavigationItem verions of CRWSessionEntry properties and rewrites selectors to take NavigationItems. The underlying logic is still the same (i.e. NavigationItems are still owned by CRWSessionEntries), and will be updated in a subsequent CL. BUG=454984 Review-Url: https://codereview.chromium.org/2671773005 Cr-Commit-Position: refs/heads/master@{#448564} Committed: https://chromium.googlesource.com/chromium/src/+/df9b48363d2759ccc531c354f7e57d9eea7a2935

Patch Set 1 #

Patch Set 2 : self review #

Total comments: 29

Patch Set 3 : Eugene's comments #

Total comments: 1

Patch Set 4 : todo, unscoped => raw #

Unified diffs Side-by-side diffs Delta from patch set Stats (+940 lines, -792 lines) Patch
M ios/chrome/browser/native_app_launcher/native_app_navigation_util_unittest.mm View 1 chunk +5 lines, -5 lines 0 comments Download
M ios/chrome/browser/tabs/tab.mm View 2 chunks +3 lines, -4 lines 0 comments Download
M ios/chrome/browser/tabs/tab_model_unittest.mm View 3 chunks +3 lines, -3 lines 0 comments Download
M ios/chrome/browser/tabs/tab_unittest.mm View 1 chunk +2 lines, -2 lines 0 comments Download
M ios/web/BUILD.gn View 1 2 chunks +4 lines, -0 lines 0 comments Download
M ios/web/interstitials/web_interstitial_impl.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/web/navigation/crw_session_controller.h View 1 2 4 chunks +87 lines, -68 lines 0 comments Download
M ios/web/navigation/crw_session_controller.mm View 1 2 29 chunks +127 lines, -73 lines 0 comments Download
M ios/web/navigation/crw_session_controller+private_constructors.h View 2 chunks +4 lines, -4 lines 0 comments Download
M ios/web/navigation/crw_session_controller_unittest.mm View 43 chunks +381 lines, -397 lines 0 comments Download
M ios/web/navigation/crw_session_entry_unittest.mm View 1 2 2 chunks +7 lines, -16 lines 0 comments Download
A ios/web/navigation/navigation_item_impl_list.h View 1 chunk +29 lines, -0 lines 0 comments Download
A ios/web/navigation/navigation_item_impl_list.mm View 1 2 1 chunk +22 lines, -0 lines 0 comments Download
M ios/web/navigation/navigation_manager_impl.mm View 1 2 5 chunks +9 lines, -9 lines 0 comments Download
M ios/web/navigation/navigation_manager_impl_unittest.mm View 18 chunks +151 lines, -151 lines 0 comments Download
M ios/web/navigation/navigation_manager_storage_builder.mm View 1 2 6 chunks +18 lines, -19 lines 0 comments Download
M ios/web/net/crw_ssl_status_updater_unittest.mm View 1 chunk +5 lines, -5 lines 0 comments Download
A ios/web/public/navigation_item_list.h View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
A ios/web/public/navigation_item_list.mm View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 1 2 14 chunks +34 lines, -33 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller_unittest.mm View 2 chunks +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 11 (5 generated)
kkhorimoto
Contains the naming changes from https://codereview.chromium.org/2672723003/
3 years, 10 months ago (2017-02-03 20:17:24 UTC) #2
Eugene But (OOO till 7-30)
Thank you for splitting CL. https://codereview.chromium.org/2671773005/diff/20001/ios/web/navigation/crw_session_controller.mm File ios/web/navigation/crw_session_controller.mm (right): https://codereview.chromium.org/2671773005/diff/20001/ios/web/navigation/crw_session_controller.mm#newcode748 ios/web/navigation/crw_session_controller.mm:748: web::NavigationItemList list; nit: pass ...
3 years, 10 months ago (2017-02-03 23:33:33 UTC) #3
kkhorimoto
https://codereview.chromium.org/2671773005/diff/20001/ios/web/navigation/crw_session_controller.mm File ios/web/navigation/crw_session_controller.mm (right): https://codereview.chromium.org/2671773005/diff/20001/ios/web/navigation/crw_session_controller.mm#newcode748 ios/web/navigation/crw_session_controller.mm:748: web::NavigationItemList list; On 2017/02/03 23:33:33, Eugene But wrote: > ...
3 years, 10 months ago (2017-02-04 02:45:31 UTC) #4
Eugene But (OOO till 7-30)
Thanks! Everything look good, but I think those typedefs hurt readability. If you disagree with ...
3 years, 10 months ago (2017-02-04 03:34:51 UTC) #5
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/2671773005/60001
3 years, 10 months ago (2017-02-07 05:07:44 UTC) #8
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 06:50:05 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/df9b48363d2759ccc531c354f7e5...

Powered by Google App Engine
This is Rietveld 408576698