Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(386)

Issue 808253006: Remove the GoogleURLTracker infobar functionality entirely. (Closed)

Created:
6 years ago by Peter Kasting
Modified:
5 years, 11 months ago
Reviewers:
brettw, Ilya Sherman, mmenke
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, nkostylev+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, samarth+watch_chromium.org, jfweitz+watch_chromium.org, David Black, davemoore+watch_chromium.org, oshima+watch_chromium.org, kmadhusu+watch_chromium.org, stevenjb+watch_chromium.org, Jered
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove the GoogleURLTracker infobar functionality entirely. Now instead of prompting the user which search domain they would like when they perform a search after Chrome has detected a new search domain, we just accept what searchdomaincheck tells us immediately. If the domain changes with existing search pages open, we don't reload those pages on the new domain, as we did with the infobar if you clicked the button to change domains; doing so could interrupt what the user is doing and will certainly be surprising. We just allow future searches to use the new domain. BUG=421174 TEST=A machine moved among different countries should automatically change search domains to the local domains (on network switch or Chrome restart) without prompting the user Committed: https://crrev.com/cd7c9d17c3d471e00136542092f167fb60e4244f Cr-Commit-Position: refs/heads/master@{#310395}

Patch Set 1 #

Patch Set 2 : Compile fixes #

Total comments: 3

Patch Set 3 : Fix size_t -> int conversion (since I turned off the warning disable for it) #

Total comments: 13

Patch Set 4 : Review comments #

Patch Set 5 : Resync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -1844 lines) Patch
M build/ios/grit_whitelist.txt View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/android/logo_service.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/android/tab_android.cc View 1 2 3 4 3 chunks +0 lines, -17 lines 0 comments Download
M chrome/browser/chromeos/customization/customization_wallpaper_downloader_browsertest.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/google/DEPS View 1 2 3 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/google/chrome_google_url_tracker_client.h View 1 chunk +1 line, -13 lines 0 comments Download
M chrome/browser/google/chrome_google_url_tracker_client.cc View 1 2 3 4 3 chunks +0 lines, -50 lines 0 comments Download
M chrome/browser/google/google_url_tracker_factory.cc View 1 3 chunks +12 lines, -1 line 0 comments Download
D chrome/browser/google/google_url_tracker_navigation_helper_impl.h View 1 chunk +0 lines, -46 lines 0 comments Download
D chrome/browser/google/google_url_tracker_navigation_helper_impl.cc View 1 chunk +0 lines, -113 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 4 chunks +0 lines, -27 lines 0 comments Download
M chrome/browser/profile_resetter/profile_resetter.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/profile_resetter/profile_resetter_unittest.cc View 1 2 3 4 4 chunks +0 lines, -12 lines 0 comments Download
M chrome/browser/search/instant_unittest_base.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/browser_navigator.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/navigation_correction_tab_observer.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_edit_model.cc View 1 2 3 4 3 chunks +0 lines, -13 lines 0 comments Download
M chrome/browser/ui/search/instant_extended_interactive_uitest.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M components/components_strings.grd View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M components/google.gypi View 2 chunks +0 lines, -10 lines 0 comments Download
M components/google/DEPS View 1 chunk +0 lines, -2 lines 0 comments Download
M components/google/core/browser/BUILD.gn View 1 2 3 4 2 chunks +0 lines, -14 lines 0 comments Download
M components/google/core/browser/DEPS View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M components/google/core/browser/google_pref_names.h View 1 chunk +0 lines, -1 line 0 comments Download
M components/google/core/browser/google_pref_names.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M components/google/core/browser/google_url_tracker.h View 1 2 3 7 chunks +2 lines, -76 lines 0 comments Download
M components/google/core/browser/google_url_tracker.cc View 1 7 chunks +8 lines, -251 lines 0 comments Download
M components/google/core/browser/google_url_tracker_client.h View 1 chunk +0 lines, -8 lines 0 comments Download
D components/google/core/browser/google_url_tracker_infobar_delegate.h View 1 chunk +0 lines, -82 lines 0 comments Download
D components/google/core/browser/google_url_tracker_infobar_delegate.cc View 1 2 3 4 1 chunk +0 lines, -119 lines 0 comments Download
D components/google/core/browser/google_url_tracker_map_entry.h View 1 2 3 4 1 chunk +0 lines, -62 lines 0 comments Download
D components/google/core/browser/google_url_tracker_map_entry.cc View 1 chunk +0 lines, -66 lines 0 comments Download
D components/google/core/browser/google_url_tracker_navigation_helper.h View 1 chunk +0 lines, -54 lines 0 comments Download
D components/google/core/browser/google_url_tracker_navigation_helper.cc View 1 chunk +0 lines, -13 lines 0 comments Download
M components/google/core/browser/google_url_tracker_unittest.cc View 1 2 3 4 14 chunks +23 lines, -741 lines 0 comments Download
M components/google/core/browser/google_util.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
D components/google_strings.grdp View 1 chunk +0 lines, -17 lines 0 comments Download

Messages

Total messages: 23 (6 generated)
Peter Kasting
isherman: chrome/browser/google/, components/google/ brettw: Other stuff mmenke: FYI for chrome/browser/ui/navigation_correction_tab_observer.cc https://codereview.chromium.org/808253006/diff/20001/chrome/browser/google/google_url_tracker_factory.cc File chrome/browser/google/google_url_tracker_factory.cc (right): https://codereview.chromium.org/808253006/diff/20001/chrome/browser/google/google_url_tracker_factory.cc#newcode48 ...
6 years ago (2014-12-20 02:18:07 UTC) #2
brettw
lgtm
5 years, 11 months ago (2014-12-30 03:06:07 UTC) #3
mmenke
https://codereview.chromium.org/808253006/diff/10039/chrome/browser/ui/navigation_correction_tab_observer.cc File chrome/browser/ui/navigation_correction_tab_observer.cc (right): https://codereview.chromium.org/808253006/diff/10039/chrome/browser/ui/navigation_correction_tab_observer.cc#newcode44 chrome/browser/ui/navigation_correction_tab_observer.cc:44: if (google_util::IsGoogleDomainUrl(GetNavigationCorrectionURL(), Think this needs a comment. https://codereview.chromium.org/808253006/diff/10039/chrome/browser/ui/navigation_correction_tab_observer.cc#newcode44 chrome/browser/ui/navigation_correction_tab_observer.cc:44: ...
5 years, 11 months ago (2015-01-05 15:35:51 UTC) #4
Peter Kasting
https://codereview.chromium.org/808253006/diff/10039/chrome/browser/ui/navigation_correction_tab_observer.cc File chrome/browser/ui/navigation_correction_tab_observer.cc (right): https://codereview.chromium.org/808253006/diff/10039/chrome/browser/ui/navigation_correction_tab_observer.cc#newcode44 chrome/browser/ui/navigation_correction_tab_observer.cc:44: if (google_util::IsGoogleDomainUrl(GetNavigationCorrectionURL(), On 2015/01/05 15:35:51, mmenke wrote: > Think ...
5 years, 11 months ago (2015-01-05 20:15:48 UTC) #5
mmenke
https://codereview.chromium.org/808253006/diff/10039/chrome/browser/ui/navigation_correction_tab_observer.cc File chrome/browser/ui/navigation_correction_tab_observer.cc (right): https://codereview.chromium.org/808253006/diff/10039/chrome/browser/ui/navigation_correction_tab_observer.cc#newcode44 chrome/browser/ui/navigation_correction_tab_observer.cc:44: if (google_util::IsGoogleDomainUrl(GetNavigationCorrectionURL(), On 2015/01/05 20:15:47, Peter Kasting wrote: > ...
5 years, 11 months ago (2015-01-05 21:01:53 UTC) #6
Ilya Sherman
https://codereview.chromium.org/808253006/diff/10039/chrome/browser/google/DEPS File chrome/browser/google/DEPS (right): https://codereview.chromium.org/808253006/diff/10039/chrome/browser/google/DEPS#newcode5 chrome/browser/google/DEPS:5: ], Is any of this still needed now that ...
5 years, 11 months ago (2015-01-06 00:36:28 UTC) #7
Ilya Sherman
LGTM % nits. https://codereview.chromium.org/808253006/diff/10039/components/google/core/browser/google_url_tracker.h File components/google/core/browser/google_url_tracker.h (right): https://codereview.chromium.org/808253006/diff/10039/components/google/core/browser/google_url_tracker.h#newcode27 components/google/core/browser/google_url_tracker.h:27: // change. The current values is ...
5 years, 11 months ago (2015-01-06 00:39:58 UTC) #8
Peter Kasting
https://codereview.chromium.org/808253006/diff/10039/chrome/browser/google/DEPS File chrome/browser/google/DEPS (right): https://codereview.chromium.org/808253006/diff/10039/chrome/browser/google/DEPS#newcode5 chrome/browser/google/DEPS:5: ], On 2015/01/06 00:36:28, Ilya Sherman wrote: > Is ...
5 years, 11 months ago (2015-01-06 00:54:26 UTC) #9
Ilya Sherman
https://codereview.chromium.org/808253006/diff/10039/chrome/browser/google/DEPS File chrome/browser/google/DEPS (right): https://codereview.chromium.org/808253006/diff/10039/chrome/browser/google/DEPS#newcode5 chrome/browser/google/DEPS:5: ], On 2015/01/06 00:54:26, Peter Kasting wrote: > On ...
5 years, 11 months ago (2015-01-06 01:19:35 UTC) #10
Peter Kasting
https://codereview.chromium.org/808253006/diff/10039/chrome/browser/google/DEPS File chrome/browser/google/DEPS (right): https://codereview.chromium.org/808253006/diff/10039/chrome/browser/google/DEPS#newcode5 chrome/browser/google/DEPS:5: ], On 2015/01/06 01:19:35, Ilya Sherman wrote: > On ...
5 years, 11 months ago (2015-01-06 01:27:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/808253006/50001
5 years, 11 months ago (2015-01-07 19:00:31 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/42747) linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/11838) linux_chromium_gn_dbg ...
5 years, 11 months ago (2015-01-07 19:06:45 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/808253006/70001
5 years, 11 months ago (2015-01-07 19:43:34 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/20779)
5 years, 11 months ago (2015-01-07 21:39:53 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/808253006/70001
5 years, 11 months ago (2015-01-07 21:50:15 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:70001)
5 years, 11 months ago (2015-01-07 22:40:44 UTC) #22
commit-bot: I haz the power
5 years, 11 months ago (2015-01-07 22:41:45 UTC) #23
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/cd7c9d17c3d471e00136542092f167fb60e4244f
Cr-Commit-Position: refs/heads/master@{#310395}

Powered by Google App Engine
This is Rietveld 408576698