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

Issue 2552663002: NavigationController: merge Reload*() to one Reload() with ReloadType (Closed)

Created:
4 years ago by Takashi Toyoshima
Modified:
4 years ago
Reviewers:
Charlie Reis, jam
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

NavigationController: merge Reload*() to one Reload() with ReloadType Now, NavigationController has multiple Reload*() methods to trigger various kinds of reload operations. But this is confusing because it takes one boolean argument, and in some contexts, one boolean argument for reload means a flag to bypass caches. Also, using one method and calling it with ReloadType flag is more consistent with other navigation related implementation in Blink. This is the first patch to introduce new Reload method with ReloadType argument. Once this patch is submitted, other changes will follow to call the new Reload from several places, and remove Reload* methods. BUG=670232 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation TBR=jam@chromium.org Committed: https://crrev.com/c3d6560ac8ac49a766af35240919ab90eb808d1c Cr-Commit-Position: refs/heads/master@{#437517}

Patch Set 1 #

Total comments: 5

Patch Set 2 : review #5 #

Total comments: 1

Patch Set 3 : [rebase] #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -12 lines) Patch
M chrome/browser/ui/browser_commands.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/navigation_controller_impl.h View 2 chunks +3 lines, -4 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl.cc View 1 2 2 chunks +7 lines, -7 lines 0 comments Download
M content/public/browser/navigation_controller.h View 1 2 chunks +8 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (13 generated)
Takashi Toyoshima
creis@, what do you think about this? I prefer to merge all Reload* methods to ...
4 years ago (2016-12-05 09:25:29 UTC) #4
Charlie Reis
I'm ok with this-- I think the current approach made more sense when there were ...
4 years ago (2016-12-05 19:34:01 UTC) #5
Takashi Toyoshima
https://codereview.chromium.org/2552663002/diff/1/content/public/browser/navigation_controller.h File content/public/browser/navigation_controller.h (right): https://codereview.chromium.org/2552663002/diff/1/content/public/browser/navigation_controller.h#newcode353 content/public/browser/navigation_controller.h:353: // Reloads the current entry under the speicified ReloadType. ...
4 years ago (2016-12-06 08:10:42 UTC) #6
Charlie Reis
Thanks! LGTM. jam@, can you give an owners stamp for the chrome/ change? https://codereview.chromium.org/2552663002/diff/1/content/public/browser/navigation_controller.h File ...
4 years ago (2016-12-08 23:41:23 UTC) #9
Takashi Toyoshima
Since the chrome side change is caller side mechanical one, I'd use TBR here.
4 years ago (2016-12-09 04:45:04 UTC) #11
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/2552663002/20001
4 years ago (2016-12-09 06:54:26 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/120132) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years ago (2016-12-09 06:57:10 UTC) #15
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/2552663002/40001
4 years ago (2016-12-09 08:52:23 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-09 11:23:50 UTC) #21
commit-bot: I haz the power
4 years ago (2016-12-09 11:26:54 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c3d6560ac8ac49a766af35240919ab90eb808d1c
Cr-Commit-Position: refs/heads/master@{#437517}

Powered by Google App Engine
This is Rietveld 408576698