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

Issue 2720983002: Remove windowName from CRWSessionController. (Closed)

Created:
3 years, 9 months ago by sdefresne
Modified:
3 years, 9 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, vabr+watchlistpasswordmanager_chromium.org, viettrungluu+watch_chromium.org, qsr+mojo_chromium.org, pkl (ping after 24h if needed), Eugene But (OOO till 7-30), yzshen+watch_chromium.org, net-reviews_chromium.org, Aaron Boodman, noyau+watch_chromium.org, marq+watch_chromium.org, stkhapugin, gcasto+watchlist_chromium.org, abarth-chromium, darin (slow to review), sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove windowName from CRWSessionController. The windowName parameter passed during the Tab creation was always nil (either directly passed as nil or forwarded from the caller) except during unit tests. Remove the property from CRWSessionController and convert the unit tests to no longer set this parameter (instead comparing the object directly) and remove the parameter from all methods taking windowName. Re-order some parameter in initialiser to put more important parameter first (e.g. -initWithBrowserState:openedByDOM versus -initWithOpenedByDOM:browserState:). BUG=620465 Review-Url: https://codereview.chromium.org/2720983002 Cr-Commit-Position: refs/heads/master@{#453786} Committed: https://chromium.googlesource.com/chromium/src/+/a6395911b0dc6cad281c0e13c62578689be02b93

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+470 lines, -716 lines) Patch
M ios/chrome/app/main_controller.mm View 1 chunk +0 lines, -1 line 0 comments Download
M ios/chrome/browser/content_suggestions/content_suggestions_coordinator.mm View 1 chunk +0 lines, -1 line 0 comments Download
M ios/chrome/browser/native_app_launcher/native_app_navigation_util_unittest.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/passwords/ios_chrome_password_manager_infobar_delegate.mm View 1 chunk +0 lines, -1 line 0 comments Download
M ios/chrome/browser/sessions/session_window_unittest.mm View 4 chunks +6 lines, -14 lines 0 comments Download
M ios/chrome/browser/tabs/tab.h View 1 3 chunks +9 lines, -12 lines 0 comments Download
M ios/chrome/browser/tabs/tab.mm View 4 chunks +9 lines, -18 lines 0 comments Download
M ios/chrome/browser/tabs/tab_model.h View 3 chunks +22 lines, -31 lines 0 comments Download
M ios/chrome/browser/tabs/tab_model.mm View 6 chunks +53 lines, -128 lines 0 comments Download
M ios/chrome/browser/tabs/tab_model_unittest.mm View 1 18 chunks +247 lines, -302 lines 0 comments Download
M ios/chrome/browser/tabs/tab_unittest.mm View 1 chunk +1 line, -2 lines 0 comments Download
M ios/chrome/browser/ui/browser_view_controller.mm View 12 chunks +34 lines, -49 lines 0 comments Download
M ios/chrome/browser/ui/commands/open_url_command.h View 2 chunks +0 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/commands/open_url_command.mm View 3 chunks +0 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/history/history_collection_view_controller.mm View 2 chunks +0 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/ntp/google_landing_controller.mm View 3 chunks +0 lines, -3 lines 0 comments Download
M ios/chrome/browser/ui/ntp/recent_tabs/recent_tabs_table_view_controller.mm View 1 chunk +0 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_coordinator.mm View 1 chunk +0 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_coordinator_unittest.mm View 1 chunk +0 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/stack_view/stack_view_controller.mm View 1 chunk +7 lines, -8 lines 0 comments Download
M ios/chrome/browser/ui/tab_switcher/tab_switcher_controller.mm View 2 chunks +11 lines, -13 lines 0 comments Download
M ios/chrome/browser/ui/url_loader.h View 1 chunk +4 lines, -6 lines 0 comments Download
M ios/web/navigation/crw_session_controller.h View 1 chunk +0 lines, -1 line 0 comments Download
M ios/web/navigation/crw_session_controller.mm View 6 chunks +9 lines, -21 lines 0 comments Download
M ios/web/navigation/crw_session_controller+private_constructors.h View 1 chunk +6 lines, -8 lines 0 comments Download
M ios/web/navigation/crw_session_controller_unittest.mm View 14 chunks +27 lines, -42 lines 0 comments Download
M ios/web/navigation/crw_session_storage_unittest.mm View 2 chunks +0 lines, -2 lines 0 comments Download
M ios/web/navigation/navigation_manager_impl.h View 1 chunk +3 lines, -3 lines 0 comments Download
M ios/web/navigation/navigation_manager_impl.mm View 1 chunk +6 lines, -8 lines 0 comments Download
M ios/web/navigation/navigation_manager_impl_unittest.mm View 1 chunk +2 lines, -3 lines 0 comments Download
M ios/web/navigation/session_storage_builder.mm View 3 chunks +3 lines, -6 lines 0 comments Download
M ios/web/net/crw_ssl_status_updater_unittest.mm View 1 chunk +3 lines, -4 lines 0 comments Download
M ios/web/public/crw_session_storage.h View 1 chunk +0 lines, -1 line 0 comments Download
M ios/web/public/crw_session_storage.mm View 4 chunks +0 lines, -4 lines 0 comments Download
M ios/web/public/test/web_test_with_web_state.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/web/web_state/ui/crw_web_controller_unittest.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M ios/web/web_state/web_state_impl.mm View 1 1 chunk +2 lines, -4 lines 0 comments Download
M ios/web/web_state/web_state_impl_unittest.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/web/webui/web_ui_mojo_inttest.mm View 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 16 (10 generated)
sdefresne
eugenebut: please take a look at ios/web rohitrao: please take a look at the rest
3 years, 9 months ago (2017-02-28 05:47:53 UTC) #4
Eugene But (OOO till 7-30)
lgtm https://codereview.chromium.org/2720983002/diff/1/ios/chrome/browser/tabs/tab.h File ios/chrome/browser/tabs/tab.h (right): https://codereview.chromium.org/2720983002/diff/1/ios/chrome/browser/tabs/tab.h#newcode187 ios/chrome/browser/tabs/tab.h:187: // -initWithBrowserState:opener:model. initWithBrowserState:opener:openedByDOM:model: ? https://codereview.chromium.org/2720983002/diff/1/ios/chrome/browser/tabs/tab_model_unittest.mm File ios/chrome/browser/tabs/tab_model_unittest.mm (right): ...
3 years, 9 months ago (2017-02-28 16:04:09 UTC) #7
sdefresne
Thank you for the review. https://codereview.chromium.org/2720983002/diff/1/ios/chrome/browser/tabs/tab.h File ios/chrome/browser/tabs/tab.h (right): https://codereview.chromium.org/2720983002/diff/1/ios/chrome/browser/tabs/tab.h#newcode187 ios/chrome/browser/tabs/tab.h:187: // -initWithBrowserState:opener:model. On 2017/02/28 ...
3 years, 9 months ago (2017-02-28 17:41:07 UTC) #9
rohitrao (ping after 24h)
Tab LGTM
3 years, 9 months ago (2017-02-28 22:39:15 UTC) #10
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/2720983002/40001
3 years, 9 months ago (2017-03-01 00:30:02 UTC) #13
commit-bot: I haz the power
3 years, 9 months ago (2017-03-01 01:16:05 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/a6395911b0dc6cad281c0e13c625...

Powered by Google App Engine
This is Rietveld 408576698