| Index: chrome/browser/android/tab_android.cc
|
| diff --git a/chrome/browser/android/tab_android.cc b/chrome/browser/android/tab_android.cc
|
| index 8d117259d3dfd0c76c30b758fbb5e7fb19eef55f..26dcfb8dbc6b93e225cfbd6690e42d357598e237 100644
|
| --- a/chrome/browser/android/tab_android.cc
|
| +++ b/chrome/browser/android/tab_android.cc
|
| @@ -13,7 +13,6 @@
|
| #include "chrome/browser/chrome_notification_types.h"
|
| #include "chrome/browser/content_settings/tab_specific_content_settings.h"
|
| #include "chrome/browser/favicon/favicon_tab_helper.h"
|
| -#include "chrome/browser/google/google_url_tracker_factory.h"
|
| #include "chrome/browser/infobars/infobar_service.h"
|
| #include "chrome/browser/prerender/prerender_contents.h"
|
| #include "chrome/browser/prerender/prerender_manager.h"
|
| @@ -43,8 +42,6 @@
|
| #include "chrome/common/instant_types.h"
|
| #include "chrome/common/render_messages.h"
|
| #include "chrome/common/url_constants.h"
|
| -#include "components/google/core/browser/google_url_tracker.h"
|
| -#include "components/google/core/browser/google_util.h"
|
| #include "components/infobars/core/infobar_container.h"
|
| #include "components/url_fixer/url_fixer.h"
|
| #include "content/public/browser/android/content_view_core.h"
|
| @@ -561,20 +558,6 @@ TabAndroid::TabLoadStatus TabAndroid::LoadUrl(JNIEnv* env,
|
| return PAGE_LOAD_FAILED;
|
|
|
| if (!HandleNonNavigationAboutURL(fixed_url)) {
|
| - // Notify the GoogleURLTracker of searches, it might want to change the
|
| - // actual Google site used (for instance when in the UK, google.co.uk, when
|
| - // in the US google.com).
|
| - // Note that this needs to happen before we initiate the navigation as the
|
| - // GoogleURLTracker uses the navigation pending notification to trigger the
|
| - // infobar.
|
| - if (google_util::IsGoogleSearchUrl(fixed_url) &&
|
| - (page_transition & ui::PAGE_TRANSITION_GENERATED)) {
|
| - GoogleURLTracker* tracker =
|
| - GoogleURLTrackerFactory::GetForProfile(GetProfile());
|
| - if (tracker)
|
| - tracker->SearchCommitted();
|
| - }
|
| -
|
| // Record UMA "ShowHistory" here. That way it'll pick up both user
|
| // typing chrome://history as well as selecting from the drop down menu.
|
| if (fixed_url.spec() == chrome::kChromeUIHistoryURL) {
|
|
|