Index: chrome/browser/search_engines/search_provider_install_state_message_filter.cc |
diff --git a/chrome/browser/search_engines/search_provider_install_state_message_filter.cc b/chrome/browser/search_engines/search_provider_install_state_message_filter.cc |
index 8d658a25df3ca6dfc96f621800776aa42be4a5c2..e4effe2d789ce6e5edf40ad44eed0e9117d2b5d1 100644 |
--- a/chrome/browser/search_engines/search_provider_install_state_message_filter.cc |
+++ b/chrome/browser/search_engines/search_provider_install_state_message_filter.cc |
@@ -6,7 +6,10 @@ |
#include "base/bind.h" |
#include "base/logging.h" |
+#include "chrome/browser/google/google_url_tracker_factory.h" |
#include "chrome/browser/profiles/profile.h" |
+#include "chrome/browser/search_engines/template_url_service_factory.h" |
+#include "chrome/browser/search_engines/ui_thread_search_terms_data.h" |
#include "chrome/common/render_messages.h" |
#include "content/public/browser/render_process_host.h" |
#include "url/gurl.h" |
@@ -18,7 +21,9 @@ SearchProviderInstallStateMessageFilter( |
int render_process_id, |
Profile* profile) |
: BrowserMessageFilter(ChromeMsgStart), |
- provider_data_(profile, |
+ provider_data_(TemplateURLServiceFactory::GetForProfile(profile), |
+ UIThreadSearchTermsData(profile).GoogleBaseURLValue(), |
+ GoogleURLTrackerFactory::GetForProfile(profile), |
content::RenderProcessHost::FromID(render_process_id)), |
is_off_the_record_(profile->IsOffTheRecord()), |
weak_factory_(this) { |