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

Issue 8370011: Now does not sync URLs that only have imported visits. (Closed)

Created:
9 years, 2 months ago by Andrew T Wilson (Slow)
Modified:
9 years, 2 months ago
CC:
chromium-reviews, ncarter (slow), akalin, Raghu Simha, brettw-cc_chromium.org, Paweł Hajdan Jr., tim (not reviewing)
Visibility:
Public.

Description

Now does not sync URLs that only have imported visits. During ModelAssociation we ignore URLs that only contain imported visits. We still look at them in the change processor because we still want to sync them if the user ever visits the URLs in Chrome. BUG=99963 TEST=Run firefox, visit URLs, run chrome with fresh profile, see imported URLs are not synced. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106853

Patch Set 1 #

Patch Set 2 : Improved integration test to also test case of visiting url after sync. #

Total comments: 4

Patch Set 3 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -11 lines) Patch
M chrome/browser/history/history_backend.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/history/history_backend.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/history/history_backend_unittest.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/sync/glue/typed_url_model_associator.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/typed_url_model_associator.cc View 1 2 3 chunks +27 lines, -1 line 0 comments Download
M chrome/browser/sync/test/integration/two_client_typed_urls_sync_test.cc View 1 2 chunks +42 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/typed_urls_helper.h View 2 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/sync/test/integration/typed_urls_helper.cc View 2 chunks +17 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Andrew T Wilson (Slow)
Scott, if you could look at the browser/history stuff, I'd appreciate it. I basically just ...
9 years, 2 months ago (2011-10-21 22:42:31 UTC) #1
sky
Non-virtual, add description (including return value) and browser/history LGTM http://codereview.chromium.org/8370011/diff/2001/chrome/browser/history/history_backend.h File chrome/browser/history/history_backend.h (right): http://codereview.chromium.org/8370011/diff/2001/chrome/browser/history/history_backend.h#newcode304 chrome/browser/history/history_backend.h:304: ...
9 years, 2 months ago (2011-10-21 22:44:51 UTC) #2
tim (not reviewing)
sync LGTM http://codereview.chromium.org/8370011/diff/2001/chrome/browser/sync/glue/typed_url_model_associator.cc File chrome/browser/sync/glue/typed_url_model_associator.cc (right): http://codereview.chromium.org/8370011/diff/2001/chrome/browser/sync/glue/typed_url_model_associator.cc#newcode105 chrome/browser/sync/glue/typed_url_model_associator.cc:105: // We ignore URLs that have never ...
9 years, 2 months ago (2011-10-22 05:37:13 UTC) #3
Andrew T Wilson (Slow)
Thanks for the quick turnaround on the review! http://codereview.chromium.org/8370011/diff/2001/chrome/browser/history/history_backend.h File chrome/browser/history/history_backend.h (right): http://codereview.chromium.org/8370011/diff/2001/chrome/browser/history/history_backend.h#newcode304 chrome/browser/history/history_backend.h:304: virtual ...
9 years, 2 months ago (2011-10-22 06:48:21 UTC) #4
commit-bot: I haz the power
9 years, 2 months ago (2011-10-22 07:31:59 UTC) #5

Powered by Google App Engine
This is Rietveld 408576698