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

Issue 10384188: Ensure that TemplateURLs removed by prepopulate search engine merging is also removed from Sync. (Closed)

Created:
8 years, 7 months ago by SteveT
Modified:
8 years, 7 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, Nicolas Zea
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Ensure that TemplateURLs removed by prepopulate search engine merging is also removed from Sync. We do this by keeping a list of pre-sync deleted GUIDs, which is populated whenever a TemplateURL entry is removed from the DB during startup merging. We then use this list to ignore the appropriate entries from Sync, and to inform Sync that they should be deleted. BUG=128210 TEST=unit_test TemplateURLServiceSyncTest.PreSyncDeletes Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137490

Patch Set 1 : init #

Total comments: 8

Patch Set 2 : removed AddPreSyncDeletedGUIDForTesting; test empty set; merge to TOT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -18 lines) Patch
M chrome/browser/search_engines/search_provider_install_data.cc View 1 1 chunk +3 lines, -6 lines 0 comments Download
M chrome/browser/search_engines/template_url_service.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/search_engines/template_url_service.cc View 1 3 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/search_engines/template_url_service_sync_unittest.cc View 1 1 chunk +24 lines, -0 lines 0 comments Download
M chrome/browser/search_engines/util.h View 2 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/search_engines/util.cc View 9 chunks +23 lines, -9 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
SteveT
Peter: PTAL. This is just the DELETE processing that we had discussed, and only for ...
8 years, 7 months ago (2012-05-15 20:23:23 UTC) #1
Peter Kasting
https://chromiumcodereview.appspot.com/10384188/diff/4001/chrome/browser/search_engines/search_provider_install_data.cc File chrome/browser/search_engines/search_provider_install_data.cc (right): https://chromiumcodereview.appspot.com/10384188/diff/4001/chrome/browser/search_engines/search_provider_install_data.cc#newcode246 chrome/browser/search_engines/search_provider_install_data.cc:246: GetSearchProvidersUsingKeywordResult(*result, Nit: This has so many arguments, feel free ...
8 years, 7 months ago (2012-05-15 21:28:10 UTC) #2
SteveT
PTAL. http://codereview.chromium.org/10384188/diff/4001/chrome/browser/search_engines/search_provider_install_data.cc File chrome/browser/search_engines/search_provider_install_data.cc (right): http://codereview.chromium.org/10384188/diff/4001/chrome/browser/search_engines/search_provider_install_data.cc#newcode246 chrome/browser/search_engines/search_provider_install_data.cc:246: GetSearchProvidersUsingKeywordResult(*result, On 2012/05/15 21:28:10, Peter Kasting wrote: > ...
8 years, 7 months ago (2012-05-16 13:26:43 UTC) #3
Peter Kasting
LGTM. I don't know of an obvious way to fix the MergeDataAndStartSyncing() issue without major ...
8 years, 7 months ago (2012-05-16 18:18:50 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevet@chromium.org/10384188/6004
8 years, 7 months ago (2012-05-16 18:28:45 UTC) #5
commit-bot: I haz the power
8 years, 7 months ago (2012-05-16 20:07:07 UTC) #6
Change committed as 137490

Powered by Google App Engine
This is Rietveld 408576698