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

Issue 2572433002: Disable tracking of visits to bookmarks in incognito (Closed)

Created:
4 years ago by jkrcal
Modified:
4 years ago
CC:
chromium-reviews, ntp-dev+reviews_chromium.org, mastiz
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable tracking of visits to bookmarks in incognito Date of the last visit to any bookmarked page is stored to BookmarkModel. Previously, this happens in off-the-record profiles as well. This CL fixes the issue. BUG=662382 Committed: https://crrev.com/1e385fa1c19d96f343594a0623a7985adb50c483 Cr-Commit-Position: refs/heads/master@{#438845}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Bernhard's comments + a shiny new unittest #

Total comments: 4

Patch Set 3 : Bernhard's comments #2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -15 lines) Patch
M chrome/browser/ntp_snippets/bookmark_last_visit_updater.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ntp_snippets/bookmark_last_visit_updater.cc View 1 2 4 chunks +11 lines, -13 lines 0 comments Download
A chrome/browser/ntp_snippets/bookmark_last_visit_updater_unittest.cc View 1 2 1 chunk +104 lines, -0 lines 0 comments Download
M chrome/browser/ui/tab_helpers.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 34 (21 generated)
jkrcal
Bernhard, could you PTAL? Do you think this bug / situation is worth adding a ...
4 years ago (2016-12-12 14:02:02 UTC) #4
tschumann
if it's fixing a bug, we should always add a unit-test. If you add functionality ...
4 years ago (2016-12-12 14:31:52 UTC) #5
mastiz
Also, please see https://cs.chromium.org/chromium/src/components/favicon/core/favicon_handler.cc?sq=package:chromium&dr=C&rcl=1481530670&l=556 Bookmark-related exceptions seem intentional.
4 years ago (2016-12-12 14:41:49 UTC) #7
Bernhard Bauer
On 2016/12/12 14:41:49, mastiz wrote: > Also, please see > https://cs.chromium.org/chromium/src/components/favicon/core/favicon_handler.cc?sq=package:chromium&dr=C&rcl=1481530670&l=556 > > Bookmark-related exceptions ...
4 years ago (2016-12-12 15:06:38 UTC) #10
jkrcal
Thanks for the comments. PTAL, again. https://codereview.chromium.org/2572433002/diff/1/chrome/browser/ntp_snippets/bookmark_last_visit_updater.cc File chrome/browser/ntp_snippets/bookmark_last_visit_updater.cc (right): https://codereview.chromium.org/2572433002/diff/1/chrome/browser/ntp_snippets/bookmark_last_visit_updater.cc#newcode31 chrome/browser/ntp_snippets/bookmark_last_visit_updater.cc:31: return; On 2016/12/12 ...
4 years ago (2016-12-14 13:40:44 UTC) #11
Bernhard Bauer
Thanks! https://codereview.chromium.org/2572433002/diff/20001/chrome/browser/ntp_snippets/bookmark_last_visit_updater.cc File chrome/browser/ntp_snippets/bookmark_last_visit_updater.cc (right): https://codereview.chromium.org/2572433002/diff/20001/chrome/browser/ntp_snippets/bookmark_last_visit_updater.cc#newcode33 chrome/browser/ntp_snippets/bookmark_last_visit_updater.cc:33: void BookmarkLastVisitUpdater::CreateForWebContentsWithBookmarkModel( Name this method Maybe... now? https://codereview.chromium.org/2572433002/diff/20001/chrome/browser/ntp_snippets/bookmark_last_visit_updater.h ...
4 years ago (2016-12-14 15:58:45 UTC) #18
jkrcal
Oh, sorry for the omissions. PTAL, again! Avi, could you PTAL at tab_helpers.cc? https://codereview.chromium.org/2572433002/diff/20001/chrome/browser/ntp_snippets/bookmark_last_visit_updater.cc File ...
4 years ago (2016-12-14 16:40:16 UTC) #20
Bernhard Bauer
lgtm
4 years ago (2016-12-15 10:12:10 UTC) #25
jkrcal
Thanks! Avi, could you PTAL at tab_helpers.cc?
4 years ago (2016-12-15 10:15:31 UTC) #26
Avi (use Gerrit)
lgtm
4 years ago (2016-12-15 16:11:54 UTC) #27
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/2572433002/40001
4 years ago (2016-12-15 16:18:41 UTC) #29
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-15 16:23:28 UTC) #32
commit-bot: I haz the power
4 years ago (2016-12-15 16:25:56 UTC) #34
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1e385fa1c19d96f343594a0623a7985adb50c483
Cr-Commit-Position: refs/heads/master@{#438845}

Powered by Google App Engine
This is Rietveld 408576698