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

Issue 2766453002: Implement Reload for ORIGINAL_REQUEST_URL in NavigationManagerImpl. (Closed)

Created:
3 years, 9 months ago by liaoyuke
Modified:
3 years, 8 months ago
CC:
chromium-reviews, Eugene But (OOO till 7-30), ios-reviews+web_chromium.org, ios-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement Reload for ORIGINAL_REQUEST_URL in NavigationManagerImpl. This CL implements logic for |Reload| in NavigationManagerImpl when reload type is ORIGINAL_REQUEST_URL for reloading a page with updated user agent. BUG=700571 Review-Url: https://codereview.chromium.org/2766453002 Cr-Commit-Position: refs/heads/master@{#460161} Committed: https://chromium.googlesource.com/chromium/src/+/6d1e82b93ec0328ec947f387a84fdf2fd42f61f8

Patch Set 1 : self review #

Total comments: 2

Patch Set 2 : addressed self review #

Total comments: 15

Patch Set 3 : Addressed comments #

Total comments: 21

Patch Set 4 : Addressed comments #

Total comments: 8

Patch Set 5 : Update unit tests #

Patch Set 6 : Rebase #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -13 lines) Patch
M ios/web/navigation/crw_session_controller.mm View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ios/web/navigation/navigation_manager_impl.mm View 1 2 3 4 2 chunks +25 lines, -1 line 1 comment Download
M ios/web/navigation/navigation_manager_impl_unittest.mm View 1 2 3 4 5 3 chunks +229 lines, -8 lines 0 comments Download
M ios/web/public/reload_type.h View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 38 (27 generated)
liaoyuke
PTAL. Thank you very much! https://codereview.chromium.org/2766453002/diff/20001/ios/web/navigation/navigation_manager_impl.mm File ios/web/navigation/navigation_manager_impl.mm (left): https://codereview.chromium.org/2766453002/diff/20001/ios/web/navigation/navigation_manager_impl.mm#oldcode441 ios/web/navigation/navigation_manager_impl.mm:441: DCHECK_GT(index, 0); I don't ...
3 years, 9 months ago (2017-03-22 23:46:23 UTC) #7
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2766453002/diff/20001/ios/web/navigation/navigation_manager_impl.mm File ios/web/navigation/navigation_manager_impl.mm (left): https://codereview.chromium.org/2766453002/diff/20001/ios/web/navigation/navigation_manager_impl.mm#oldcode441 ios/web/navigation/navigation_manager_impl.mm:441: DCHECK_GT(index, 0); On 2017/03/22 23:46:23, liaoyuke wrote: > I ...
3 years, 9 months ago (2017-03-23 00:08:20 UTC) #9
liaoyuke
PTAL. Thank you very much! https://codereview.chromium.org/2766453002/diff/80001/ios/web/navigation/navigation_manager_impl.mm File ios/web/navigation/navigation_manager_impl.mm (right): https://codereview.chromium.org/2766453002/diff/80001/ios/web/navigation/navigation_manager_impl.mm#newcode346 ios/web/navigation/navigation_manager_impl.mm:346: // For Request Desktop/Mobile ...
3 years, 9 months ago (2017-03-27 16:22:43 UTC) #24
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2766453002/diff/80001/ios/web/navigation/navigation_manager_impl_unittest.mm File ios/web/navigation/navigation_manager_impl_unittest.mm (right): https://codereview.chromium.org/2766453002/diff/80001/ios/web/navigation/navigation_manager_impl_unittest.mm#newcode758 ios/web/navigation/navigation_manager_impl_unittest.mm:758: On 2017/03/27 16:22:43, liaoyuke wrote: > On 2017/03/23 00:08:20, ...
3 years, 9 months ago (2017-03-27 17:15:47 UTC) #25
liaoyuke
PTAL. Thank you very much! https://codereview.chromium.org/2766453002/diff/180001/ios/web/navigation/crw_session_controller.mm File ios/web/navigation/crw_session_controller.mm (right): https://codereview.chromium.org/2766453002/diff/180001/ios/web/navigation/crw_session_controller.mm#newcode547 ios/web/navigation/crw_session_controller.mm:547: On 2017/03/27 17:15:47, Eugene ...
3 years, 9 months ago (2017-03-28 00:16:40 UTC) #26
Eugene But (OOO till 7-30)
lgtm https://codereview.chromium.org/2766453002/diff/200001/ios/web/navigation/navigation_manager_impl.mm File ios/web/navigation/navigation_manager_impl.mm (right): https://codereview.chromium.org/2766453002/diff/200001/ios/web/navigation/navigation_manager_impl.mm#newcode346 ios/web/navigation/navigation_manager_impl.mm:346: // For example, an user visits www.chromium.org and ...
3 years, 9 months ago (2017-03-28 01:52:56 UTC) #27
liaoyuke
Thank you very much for reviewing! https://codereview.chromium.org/2766453002/diff/200001/ios/web/navigation/navigation_manager_impl.mm File ios/web/navigation/navigation_manager_impl.mm (right): https://codereview.chromium.org/2766453002/diff/200001/ios/web/navigation/navigation_manager_impl.mm#newcode346 ios/web/navigation/navigation_manager_impl.mm:346: // For example, ...
3 years, 8 months ago (2017-03-28 16:22:49 UTC) #30
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/2766453002/240001
3 years, 8 months ago (2017-03-28 17:11:46 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:240001) as https://chromium.googlesource.com/chromium/src/+/6d1e82b93ec0328ec947f387a84fdf2fd42f61f8
3 years, 8 months ago (2017-03-28 17:51:21 UTC) #36
kkhorimoto
https://codereview.chromium.org/2766453002/diff/240001/ios/web/navigation/navigation_manager_impl.mm File ios/web/navigation/navigation_manager_impl.mm (right): https://codereview.chromium.org/2766453002/diff/240001/ios/web/navigation/navigation_manager_impl.mm#newcode360 ios/web/navigation/navigation_manager_impl.mm:360: reload_item = GetLastCommittedItem(); So are we no longer using ...
3 years, 8 months ago (2017-03-28 18:10:17 UTC) #37
liaoyuke
3 years, 8 months ago (2017-03-28 18:12:33 UTC) #38
Message was sent while issue was closed.
I will update the bug right now to explain.

On Tue, Mar 28, 2017 at 11:10 AM <kkhorimoto@chromium.org> wrote:

>
>
>
https://codereview.chromium.org/2766453002/diff/240001/ios/web/navigation/nav...
> File ios/web/navigation/navigation_manager_impl.mm (right):
>
>
>
https://codereview.chromium.org/2766453002/diff/240001/ios/web/navigation/nav...
> ios/web/navigation/navigation_manager_impl.mm:360: reload_item =
> GetLastCommittedItem();
> So are we no longer using the last user item logic? What's the
> explanation for this change in behavior?
>
> https://codereview.chromium.org/2766453002/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698