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

Issue 2787893003: [Sync] TypedUrlSyncableService should filter expired visits from local (Closed)

Created:
3 years, 8 months ago by Gang Wu
Modified:
3 years, 8 months ago
Reviewers:
Nicolas Zea
CC:
chromium-reviews, sync-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] TypedUrlSyncableService should filter expired visits from local HistoryBackend may not delete expired visits yet, so TypedUrlSyncableService should filter out expired visits to avoid too many visits send to sync. BUG=702020 Review-Url: https://codereview.chromium.org/2787893003 Cr-Commit-Position: refs/heads/master@{#461250} Committed: https://chromium.googlesource.com/chromium/src/+/57f4ccc6434151ec13788b503f8296b33dc9890e

Patch Set 1 : Add tests #

Patch Set 2 : fix bug #

Total comments: 12

Patch Set 3 : code review for zea #

Total comments: 2

Patch Set 4 : more verify #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -12 lines) Patch
M chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc View 1 2 3 4 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/typed_urls_helper.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/typed_urls_helper.cc View 1 2 2 chunks +12 lines, -0 lines 0 comments Download
M components/history/core/browser/typed_url_syncable_service.h View 1 2 1 chunk +6 lines, -3 lines 0 comments Download
M components/history/core/browser/typed_url_syncable_service.cc View 1 2 5 chunks +27 lines, -9 lines 0 comments Download
M components/history/core/browser/typed_url_syncable_service_unittest.cc View 1 chunk +46 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (28 generated)
Gang Wu
PTAL
3 years, 8 months ago (2017-03-31 06:21:27 UTC) #17
Nicolas Zea
Mostly LG with some nits https://codereview.chromium.org/2787893003/diff/60001/chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc File chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc (right): https://codereview.chromium.org/2787893003/diff/60001/chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc#newcode132 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc:132: // Sync should not ...
3 years, 8 months ago (2017-03-31 18:06:05 UTC) #18
Gang Wu
updated. https://codereview.chromium.org/2787893003/diff/60001/chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc File chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc (right): https://codereview.chromium.org/2787893003/diff/60001/chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc#newcode132 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc:132: // Sync should not receive expired visits. On ...
3 years, 8 months ago (2017-03-31 21:04:45 UTC) #21
Nicolas Zea
LGTM with a nit https://codereview.chromium.org/2787893003/diff/80001/chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc File chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc (right): https://codereview.chromium.org/2787893003/diff/80001/chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc#newcode171 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc:171: ASSERT_EQ(1U, urls.size()); May as well ...
3 years, 8 months ago (2017-03-31 21:09:55 UTC) #24
Gang Wu
https://codereview.chromium.org/2787893003/diff/80001/chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc File chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc (right): https://codereview.chromium.org/2787893003/diff/80001/chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc#newcode171 chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc:171: ASSERT_EQ(1U, urls.size()); On 2017/03/31 21:09:55, Nicolas Zea wrote: > ...
3 years, 8 months ago (2017-03-31 21:19:20 UTC) #26
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/2787893003/100001
3 years, 8 months ago (2017-03-31 22:10:42 UTC) #32
commit-bot: I haz the power
3 years, 8 months ago (2017-03-31 22:20:10 UTC) #35
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/57f4ccc6434151ec13788b503f82...

Powered by Google App Engine
This is Rietveld 408576698