DescriptionProtector adds the default prepopulated engine if it was removed.
*) If the backup default search provider was deleted from the keywords, it is taken from the prepopulated data array.
*) If a search provider with same URLs already exists, it is updated; otherwise, the prepopulated SP is added.
BUG=105423
TEST=TemplateURLServiceTest.*; For Protector: manual with sqlite3
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112661
Patch Set 1 #Patch Set 2 : Added histograms for missing/fallback DSP. #
Total comments: 10
Patch Set 3 : Fixes and test for TemplateURLService::Update #Patch Set 4 : Exact match of search providers instead of Update. #Patch Set 5 : Merge #
Messages
Total messages: 10 (0 generated)
|