  }
  
  bool TemplateURLService::IsPrepopulatedOrCreatedByPolicy(
-@@ -1515,14 +1507,7 @@
+@@ -1286,6 +1281,8 @@
+ 
+ void TemplateURLService::Init(const Initializer* initializers,
+                               int num_initializers) {
++  should_autocollect_ = ShouldAutocollect();
++
+   if (client_)
+     client_->SetOwner(this);
+ 
+@@ -1515,18 +1512,11 @@
  
  bool TemplateURLService::CanAddAutogeneratedKeywordForHost(
      const std::string& host) const {

 }
 
 bool TemplateURLService::CanReplace(const TemplateURL* t_url) const {
--- a/components/search_engines/template_url_service.h
+++ b/components/search_engines/template_url_service.h
@@ -740,6 +740,8 @@

     rappor::RapporServiceImpl* rappor_service,
     const base::Closure& dsp_change_callback)
     : prefs_(prefs),
+      should_autocollect_(true),
       search_terms_data_(std::move(search_terms_data)),
       web_data_service_(web_data_service),
       client_(std::move(client)),
