| Index: chrome/browser/search_engines/template_url_service.h
|
| diff --git a/chrome/browser/search_engines/template_url_service.h b/chrome/browser/search_engines/template_url_service.h
|
| index e130eab8651514ee9955d81ec16c9b8dd30d383d..0e4833cf63c422ba2c76c2e98746b4f0e0f428af 100644
|
| --- a/chrome/browser/search_engines/template_url_service.h
|
| +++ b/chrome/browser/search_engines/template_url_service.h
|
| @@ -496,11 +496,16 @@ class TemplateURLService : public WebDataServiceConsumer,
|
| void OnDefaultSearchChange(const TemplateURLData* new_dse_data,
|
| DefaultSearchManager::Source source);
|
|
|
| - // Applies a DSE change. May be called at startup or after transitioning to
|
| - // the loaded state.
|
| + // Applies a DSE change and reports metrics if appropriate.
|
| void ApplyDefaultSearchChange(const TemplateURLData* new_dse_data,
|
| DefaultSearchManager::Source source);
|
|
|
| +
|
| + // Applies a DSE change. May be called at startup or after transitioning to
|
| + // the loaded state. Returns true if a change actually occurred.
|
| + bool ApplyDefaultSearchChangeNoMetrics(const TemplateURLData* new_dse_data,
|
| + DefaultSearchManager::Source source);
|
| +
|
| // Returns true if there is no TemplateURL that has a search url with the
|
| // specified host, or the only TemplateURLs matching the specified host can
|
| // be replaced.
|
|
|