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

Unified Diff: chrome/browser/search_engines/template_url_service.h

Issue 296053007: Don't report origin changes during loading. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge master. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/search_engines/template_url_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | chrome/browser/search_engines/template_url_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698