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

Issue 2581193002: Remove CRWWebController currentNavigationURL (Closed)

Created:
4 years ago by Olivier
Modified:
4 years ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove CRWWebController currentNavigationURL This method returns the VirtualURL of the current navigation and is used at some places where GetURL should be used instead. Remove the method to avoid confusion. Further CLs will audit which usage should be VirtualURL and which should be URL. BUG=671964 Committed: https://crrev.com/f96b83410bafa951fcddfef3d225964937bac581 Cr-Commit-Position: refs/heads/master@{#439445}

Patch Set 1 #

Total comments: 10

Patch Set 2 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -36 lines) Patch
M ios/web/web_state/ui/crw_web_controller.mm View 1 19 chunks +47 lines, -36 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
Olivier
4 years ago (2016-12-16 16:09:21 UTC) #4
Eugene But (OOO till 7-30)
Thank you for doing this. lgtm! https://codereview.chromium.org/2581193002/diff/1/ios/web/web_state/ui/crw_web_controller.mm File ios/web/web_state/ui/crw_web_controller.mm (right): https://codereview.chromium.org/2581193002/diff/1/ios/web/web_state/ui/crw_web_controller.mm#newcode1835 ios/web/web_state/ui/crw_web_controller.mm:1835: GURL navigationURL = ...
4 years ago (2016-12-16 17:12:48 UTC) #5
kkhorimoto
lgtm with Eugene's nits. Thanks for this CL!
4 years ago (2016-12-16 21:28:15 UTC) #6
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/2581193002/20001
4 years ago (2016-12-19 09:49:50 UTC) #9
Olivier
Done, thanks https://codereview.chromium.org/2581193002/diff/1/ios/web/web_state/ui/crw_web_controller.mm File ios/web/web_state/ui/crw_web_controller.mm (right): https://codereview.chromium.org/2581193002/diff/1/ios/web/web_state/ui/crw_web_controller.mm#newcode1835 ios/web/web_state/ui/crw_web_controller.mm:1835: GURL navigationURL = item ? item->GetVirtualURL() : ...
4 years ago (2016-12-19 09:51:49 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-19 10:00:10 UTC) #13
commit-bot: I haz the power
4 years ago (2016-12-19 10:01:39 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f96b83410bafa951fcddfef3d225964937bac581
Cr-Commit-Position: refs/heads/master@{#439445}

Powered by Google App Engine
This is Rietveld 408576698