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

Issue 1011943003: Don't treat back/forwards as typed transitions in history. (Closed)

Created:
5 years, 9 months ago by Charlie Reis
Modified:
5 years, 8 months ago
Reviewers:
Peter Kasting, sky
CC:
chromium-reviews, browser-components-watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't treat back/forwards as typed transitions in history. BUG=393441 TEST=See bug comment 23 for repro steps Committed: https://crrev.com/33237351a162fe71ee8daab3d12fe04f4006d72b Cr-Commit-Position: refs/heads/master@{#322644}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Remove stale TODOs #

Total comments: 2

Patch Set 3 : Reorder conditions #

Total comments: 4

Patch Set 4 : Add tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -11 lines) Patch
M chrome/browser/history/history_backend_unittest.cc View 1 2 3 2 chunks +86 lines, -0 lines 0 comments Download
M components/history/core/browser/expire_history_backend.cc View 1 2 1 chunk +4 lines, -6 lines 0 comments Download
M components/history/core/browser/history_backend.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/history/core/browser/history_backend.cc View 1 2 1 chunk +4 lines, -5 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
Charlie Reis
This appears to solve the typed count issue from comments 22-23 on the bug.
5 years, 9 months ago (2015-03-24 16:11:10 UTC) #2
Mark P
https://codereview.chromium.org/1011943003/diff/1/components/history/core/browser/expire_history_backend.cc File components/history/core/browser/expire_history_backend.cc (right): https://codereview.chromium.org/1011943003/diff/1/components/history/core/browser/expire_history_backend.cc#newcode389 components/history/core/browser/expire_history_backend.cc:389: // TODO(pkasting): http://b/1148304 We shouldn't be marking so many ...
5 years, 9 months ago (2015-03-24 18:03:01 UTC) #4
Charlie Reis
https://codereview.chromium.org/1011943003/diff/1/components/history/core/browser/expire_history_backend.cc File components/history/core/browser/expire_history_backend.cc (right): https://codereview.chromium.org/1011943003/diff/1/components/history/core/browser/expire_history_backend.cc#newcode389 components/history/core/browser/expire_history_backend.cc:389: // TODO(pkasting): http://b/1148304 We shouldn't be marking so many ...
5 years, 9 months ago (2015-03-24 19:13:19 UTC) #5
Peter Kasting
https://codereview.chromium.org/1011943003/diff/20001/components/history/core/browser/expire_history_backend.cc File components/history/core/browser/expire_history_backend.cc (right): https://codereview.chromium.org/1011943003/diff/20001/components/history/core/browser/expire_history_backend.cc#newcode394 components/history/core/browser/expire_history_backend.cc:394: ui::PageTransitionIsNewNavigation(visits[i].transition) && This IsNewNavigation check should actually happen for ...
5 years, 9 months ago (2015-03-24 21:02:50 UTC) #6
Charlie Reis
Good catch, thanks. https://codereview.chromium.org/1011943003/diff/20001/components/history/core/browser/expire_history_backend.cc File components/history/core/browser/expire_history_backend.cc (right): https://codereview.chromium.org/1011943003/diff/20001/components/history/core/browser/expire_history_backend.cc#newcode394 components/history/core/browser/expire_history_backend.cc:394: ui::PageTransitionIsNewNavigation(visits[i].transition) && On 2015/03/24 21:02:50, Peter ...
5 years, 9 months ago (2015-03-24 21:54:41 UTC) #7
Peter Kasting
LGTM https://codereview.chromium.org/1011943003/diff/40001/chrome/browser/history/history_backend_unittest.cc File chrome/browser/history/history_backend_unittest.cc (right): https://codereview.chromium.org/1011943003/diff/40001/chrome/browser/history/history_backend_unittest.cc#newcode873 chrome/browser/history/history_backend_unittest.cc:873: ASSERT_EQ(1, row.typed_count()); Can you extend this test somewhere ...
5 years, 9 months ago (2015-03-24 22:10:00 UTC) #8
Charlie Reis
Thanks. Added the tests. I'll commit if the try jobs look good. https://codereview.chromium.org/1011943003/diff/40001/chrome/browser/history/history_backend_unittest.cc File chrome/browser/history/history_backend_unittest.cc ...
5 years, 8 months ago (2015-03-27 17:03:14 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011943003/60001
5 years, 8 months ago (2015-03-27 18:01:52 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/52378)
5 years, 8 months ago (2015-03-27 18:12:21 UTC) #15
Charlie Reis
[+@sky] Scott, can you review for owner's approval?
5 years, 8 months ago (2015-03-27 18:39:34 UTC) #17
sky
LGTM
5 years, 8 months ago (2015-03-27 21:14:25 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011943003/60001
5 years, 8 months ago (2015-03-27 21:21:24 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-03-27 21:25:46 UTC) #21
commit-bot: I haz the power
5 years, 8 months ago (2015-03-27 21:26:56 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/33237351a162fe71ee8daab3d12fe04f4006d72b
Cr-Commit-Position: refs/heads/master@{#322644}

Powered by Google App Engine
This is Rietveld 408576698