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

Unified Diff: components/search_engines/template_url_service.cc

Issue 2510803003: Pass RapporService to content/browser/ (Closed)
Patch Set: Fix an Android compile error Created 4 years 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
Index: components/search_engines/template_url_service.cc
diff --git a/components/search_engines/template_url_service.cc b/components/search_engines/template_url_service.cc
index 664fa3390a3a2ec1775d070a925493347201018e..2603372b73ab77865eb7ff5413fc707e1499bff1 100644
--- a/components/search_engines/template_url_service.cc
+++ b/components/search_engines/template_url_service.cc
@@ -859,9 +859,8 @@ void TemplateURLService::OnWebDataServiceRequestDone(
SEARCH_ENGINE_MAX);
if (rappor_service_) {
- rappor_service_->RecordSample(
- "Search.DefaultSearchProvider",
- rappor::ETLD_PLUS_ONE_RAPPOR_TYPE,
+ rappor_service_->RecordSampleString(
+ "Search.DefaultSearchProvider", rappor::ETLD_PLUS_ONE_RAPPOR_TYPE,
net::registry_controlled_domains::GetDomainAndRegistry(
default_search_provider_->url_ref().GetHost(search_terms_data()),
net::registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES));

Powered by Google App Engine
This is Rietveld 408576698