#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"
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) {