  TemplateURLService::TemplateURLService(const Initializer* initializers,
                                         const int count)
      : prefs_(nullptr),
-+      should_autocollect_(ShouldAutocollect()),
++      should_autocollect_(true),
        search_terms_data_(new SearchTermsData),
        web_data_service_(nullptr),
        google_url_tracker_(nullptr),
-@@ -309,23 +317,7 @@
-   DCHECK(!keyword.empty());  // This should only be called for non-empty
-                              // keywords. If we need to support empty kewords
-                              // the code needs to change slightly.
--  TemplateURL* existing_url = GetTemplateURLForKeyword(keyword);
--  if (template_url_to_replace)
--    *template_url_to_replace = existing_url;
+@@ -312,20 +320,7 @@
+   TemplateURL* existing_url = GetTemplateURLForKeyword(keyword);
+   if (template_url_to_replace)
+     *template_url_to_replace = existing_url;
 -  if (existing_url) {
 -    // We already have a TemplateURL for this keyword. Only allow it to be
 -    // replaced if the TemplateURL can be replaced.

 }
 
 bool TemplateURLService::IsPrepopulatedOrCreatedByPolicy(
@@ -1515,14 +1507,7 @@
 
 bool TemplateURLService::CanAddAutogeneratedKeywordForHost(
     const std::string& host) const {

 }
 
 bool TemplateURLService::CanReplace(const TemplateURL* t_url) const {
-  return !ShowInDefaultList(t_url) && t_url->safe_for_autoreplace();
+  return should_autocollect_;
 }
 
 TemplateURL* TemplateURLService::FindNonExtensionTemplateURLForKeyword(
--- a/components/search_engines/template_url_service.h
+++ b/components/search_engines/template_url_service.h
@@ -740,6 +740,8 @@
