| Index: chrome/browser/ui/omnibox/omnibox_edit_model.cc
|
| diff --git a/chrome/browser/ui/omnibox/omnibox_edit_model.cc b/chrome/browser/ui/omnibox/omnibox_edit_model.cc
|
| index f4133a7145262b1c46927ae258db3e2da18da152..237acc183dcaefcddcc92e0b2908f43f956e5098 100644
|
| --- a/chrome/browser/ui/omnibox/omnibox_edit_model.cc
|
| +++ b/chrome/browser/ui/omnibox/omnibox_edit_model.cc
|
| @@ -26,7 +26,6 @@
|
| #include "chrome/browser/command_updater.h"
|
| #include "chrome/browser/extensions/api/omnibox/omnibox_api.h"
|
| #include "chrome/browser/favicon/favicon_tab_helper.h"
|
| -#include "chrome/browser/google/google_url_tracker_factory.h"
|
| #include "chrome/browser/net/predictor.h"
|
| #include "chrome/browser/omnibox/omnibox_log.h"
|
| #include "chrome/browser/predictors/autocomplete_action_predictor.h"
|
| @@ -53,7 +52,6 @@
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/url_constants.h"
|
| #include "components/bookmarks/browser/bookmark_model.h"
|
| -#include "components/google/core/browser/google_url_tracker.h"
|
| #include "components/metrics/proto/omnibox_event.pb.h"
|
| #include "components/omnibox/autocomplete_provider.h"
|
| #include "components/omnibox/keyword_provider.h"
|
| @@ -688,17 +686,6 @@ void OmniboxEditModel::AcceptInput(WindowOpenDisposition disposition,
|
| match.transition = ui::PAGE_TRANSITION_LINK;
|
| }
|
|
|
| - TemplateURLService* service =
|
| - TemplateURLServiceFactory::GetForProfile(profile_);
|
| - const TemplateURL* template_url = match.GetTemplateURL(service, false);
|
| - if (template_url && template_url->url_ref().HasGoogleBaseURLs(
|
| - UIThreadSearchTermsData(profile_))) {
|
| - GoogleURLTracker* tracker =
|
| - GoogleURLTrackerFactory::GetForProfile(profile_);
|
| - if (tracker)
|
| - tracker->SearchCommitted();
|
| - }
|
| -
|
| DCHECK(popup_model());
|
| view_->OpenMatch(match, disposition, alternate_nav_url, base::string16(),
|
| popup_model()->selected_line());
|
|
|