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)); |