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

Issue 1742763002: Don't create a new entry in the Nav stack when reloading a page. (Closed)

Created:
4 years, 9 months ago by Pete Williamson
Modified:
4 years, 9 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't create a new entry in the Nav stack when reloading a page. When we have an offline page, and we refresh it to an online page, it would be better not to create a fresh entry in the nav stack, the user likely has no interest in having multiple entries in the nav stack with similar copies of the same page. BUG=584419 Committed: https://crrev.com/4b74b06a8ba2dd9c9c410c4e310cd49ab4152f33 Cr-Commit-Position: refs/heads/master@{#378469}

Patch Set 1 #

Patch Set 2 : Remove comment about setShouldReplaceCurrentEntry. #

Patch Set 3 : merge wiht tip of tree #

Total comments: 2

Patch Set 4 : Add back missing part of change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -7 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java View 1 2 3 2 chunks +9 lines, -3 lines 0 comments Download
M content/public/android/java/src/org/chromium/content_public/browser/LoadUrlParams.java View 1 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
Pete Williamson
LizeB, where would be a good place to move the comment that I am removing ...
4 years, 9 months ago (2016-02-29 21:32:04 UTC) #2
Benoit L
On 2016/02/29 21:32:04, Pete Williamson wrote: > LizeB, where would be a good place to ...
4 years, 9 months ago (2016-02-29 22:11:46 UTC) #3
Benoit L
On 2016/02/29 22:11:46, Benoit L wrote: > On 2016/02/29 21:32:04, Pete Williamson wrote: > > ...
4 years, 9 months ago (2016-02-29 22:48:01 UTC) #4
Pete Williamson
tedchoc@chromium.org: Please review changes in LoadURLParams.java
4 years, 9 months ago (2016-02-29 22:55:57 UTC) #6
Ted C
On 2016/02/29 22:55:57, Pete Williamson wrote: > mailto:tedchoc@chromium.org: Please review changes in LoadURLParams.java LoadUrlParams.java - ...
4 years, 9 months ago (2016-02-29 23:01:21 UTC) #7
nasko
Just a drive by question from someone clueless about the Java side of things. https://codereview.chromium.org/1742763002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java ...
4 years, 9 months ago (2016-02-29 23:22:59 UTC) #8
Pete Williamson
Fix per Nasko. https://codereview.chromium.org/1742763002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java File chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java (right): https://codereview.chromium.org/1742763002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java#newcode226 chrome/android/java/src/org/chromium/chrome/browser/offlinepages/OfflinePageUtils.java:226: params.setShouldReplaceCurrentEntry(true); On 2016/02/29 23:22:59, nasko wrote: ...
4 years, 9 months ago (2016-03-01 00:55:01 UTC) #9
Pete Williamson
Oops, I should add an owner/reviewer for OfflinePageUtils.java too.
4 years, 9 months ago (2016-03-01 00:56:56 UTC) #11
Dmitry Titov
OfflinePageUtils.java lgtm Not necessarily in this CL, but it needs a test.
4 years, 9 months ago (2016-03-01 01:12:59 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1742763002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1742763002/60001
4 years, 9 months ago (2016-03-01 01:18:49 UTC) #15
Pete Williamson
On 2016/03/01 01:12:59, Dmitry Titov wrote: > OfflinePageUtils.java lgtm > Not necessarily in this CL, ...
4 years, 9 months ago (2016-03-01 01:22:20 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/29338)
4 years, 9 months ago (2016-03-01 01:58:44 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1742763002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1742763002/60001
4 years, 9 months ago (2016-03-01 17:53:12 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-01 18:00:06 UTC) #21
commit-bot: I haz the power
4 years, 9 months ago (2016-03-01 18:01:13 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4b74b06a8ba2dd9c9c410c4e310cd49ab4152f33
Cr-Commit-Position: refs/heads/master@{#378469}

Powered by Google App Engine
This is Rietveld 408576698