| Index: chrome/browser/profile_resetter/profile_resetter.cc
|
| diff --git a/chrome/browser/profile_resetter/profile_resetter.cc b/chrome/browser/profile_resetter/profile_resetter.cc
|
| index cf97bf1ca567a898eee7aa34a959a9703b75073f..8ea68ba5e62608982362e9506fb6a4a74574cec4 100644
|
| --- a/chrome/browser/profile_resetter/profile_resetter.cc
|
| +++ b/chrome/browser/profile_resetter/profile_resetter.cc
|
| @@ -17,7 +17,6 @@
|
| #include "chrome/browser/browsing_data/browsing_data_remover_factory.h"
|
| #include "chrome/browser/content_settings/host_content_settings_map_factory.h"
|
| #include "chrome/browser/extensions/extension_service.h"
|
| -#include "chrome/browser/google/google_url_tracker_factory.h"
|
| #include "chrome/browser/profile_resetter/brandcoded_default_settings.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/search_engines/template_url_service_factory.h"
|
| @@ -31,7 +30,6 @@
|
| #include "components/content_settings/core/browser/host_content_settings_map.h"
|
| #include "components/content_settings/core/browser/website_settings_info.h"
|
| #include "components/content_settings/core/browser/website_settings_registry.h"
|
| -#include "components/google/core/browser/google_url_tracker.h"
|
| #include "components/prefs/pref_service.h"
|
| #include "components/prefs/scoped_user_pref_update.h"
|
| #include "components/search_engines/search_engines_pref_names.h"
|
| @@ -182,18 +180,6 @@ void ProfileResetter::ResetDefaultSearchEngine() {
|
|
|
| template_url_service_->RepairPrepopulatedSearchEngines();
|
|
|
| - // Reset Google search URL.
|
| - const TemplateURL* default_search_provider =
|
| - template_url_service_->GetDefaultSearchProvider();
|
| - if (default_search_provider &&
|
| - default_search_provider->HasGoogleBaseURLs(
|
| - template_url_service_->search_terms_data())) {
|
| - GoogleURLTracker* tracker =
|
| - GoogleURLTrackerFactory::GetForProfile(profile_);
|
| - if (tracker)
|
| - tracker->RequestServerCheck(true);
|
| - }
|
| -
|
| MarkAsDone(DEFAULT_SEARCH_ENGINE);
|
| } else {
|
| template_url_service_sub_ =
|
|
|