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

Issue 930853005: [Instant] Default Search Provider change redirects to local NTP in some cases (Closed)

Created:
5 years, 10 months ago by Mathieu
Modified:
4 years, 11 months ago
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, kmadhusu+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

[Instant] Default Search Provider change redirects to local NTP in some cases Previously, all instant renderers would reload if a search provider changed. With this patch, some of the renderers are redirected to the local NTP in the case that both the old and new search providers are google.<tld>. BUG=456681 TEST=BrowserInstantControllerTest*, InstantService* unit_tests Committed: https://crrev.com/880d328f729c6986b2502467a477e8fb093b8525 Cr-Commit-Position: refs/heads/master@{#317180}

Patch Set 1 : initial #

Patch Set 2 : applied comments #

Patch Set 3 : now replaces navigation entry #

Total comments: 5

Patch Set 4 : referrer + transition type #

Total comments: 4

Patch Set 5 : includes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -56 lines) Patch
M chrome/browser/android/tab_android.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/android/tab_android.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/search/instant_service.cc View 1 1 chunk +6 lines, -4 lines 0 comments Download
M chrome/browser/search/instant_service_observer.h View 1 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/search/instant_service_observer.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/search/instant_service_unittest.cc View 4 chunks +13 lines, -13 lines 0 comments Download
M chrome/browser/ui/browser_instant_controller.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/browser_instant_controller.cc View 1 2 3 4 3 chunks +25 lines, -11 lines 0 comments Download
M chrome/browser/ui/browser_instant_controller_unittest.cc View 1 2 5 chunks +63 lines, -22 lines 0 comments Download

Messages

Total messages: 29 (11 generated)
Mathieu
Kausalya, Please have a look. This solves the bug. However, IIUC this will make it ...
5 years, 10 months ago (2015-02-17 20:24:58 UTC) #3
kmadhusu
On 2015/02/17 20:24:58, Mathieu Perreault wrote: > Kausalya, > > Please have a look. This ...
5 years, 10 months ago (2015-02-18 00:32:18 UTC) #4
Mathieu
On 2015/02/18 00:32:18, kmadhusu wrote: > On 2015/02/17 20:24:58, Mathieu Perreault wrote: > > Kausalya, ...
5 years, 10 months ago (2015-02-18 16:10:04 UTC) #5
kmadhusu
On 2015/02/18 16:10:04, Mathieu Perreault wrote: > On 2015/02/18 00:32:18, kmadhusu wrote: > > On ...
5 years, 10 months ago (2015-02-18 22:38:53 UTC) #6
Mathieu
On 2015/02/18 22:38:53, kmadhusu wrote: > On 2015/02/18 16:10:04, Mathieu Perreault wrote: > > On ...
5 years, 10 months ago (2015-02-19 15:18:45 UTC) #7
kmadhusu
Back button issue is fixed. Thanks for fixing that. https://codereview.chromium.org/930853005/diff/60001/chrome/browser/ui/browser_instant_controller.cc File chrome/browser/ui/browser_instant_controller.cc (right): https://codereview.chromium.org/930853005/diff/60001/chrome/browser/ui/browser_instant_controller.cc#newcode170 chrome/browser/ui/browser_instant_controller.cc:170: ...
5 years, 10 months ago (2015-02-19 19:55:12 UTC) #8
Mathieu
+pkasting Peter: see question below (Patchset 3). https://codereview.chromium.org/930853005/diff/60001/chrome/browser/ui/browser_instant_controller.cc File chrome/browser/ui/browser_instant_controller.cc (right): https://codereview.chromium.org/930853005/diff/60001/chrome/browser/ui/browser_instant_controller.cc#newcode170 chrome/browser/ui/browser_instant_controller.cc:170: content::NavigationController::LoadURLParams params(local_ntp_url); ...
5 years, 10 months ago (2015-02-19 20:19:18 UTC) #10
Peter Kasting
https://codereview.chromium.org/930853005/diff/60001/chrome/browser/ui/browser_instant_controller.cc File chrome/browser/ui/browser_instant_controller.cc (right): https://codereview.chromium.org/930853005/diff/60001/chrome/browser/ui/browser_instant_controller.cc#newcode171 chrome/browser/ui/browser_instant_controller.cc:171: params.should_replace_current_entry = true; On 2015/02/19 20:19:18, Mathieu Perreault wrote: ...
5 years, 10 months ago (2015-02-19 21:26:34 UTC) #11
kmadhusu
LGTM. Thanks. https://codereview.chromium.org/930853005/diff/80001/chrome/browser/ui/browser_instant_controller.cc File chrome/browser/ui/browser_instant_controller.cc (right): https://codereview.chromium.org/930853005/diff/80001/chrome/browser/ui/browser_instant_controller.cc#newcode25 chrome/browser/ui/browser_instant_controller.cc:25: #include "content/public/browser/navigation_entry.h" Do you need this include? ...
5 years, 10 months ago (2015-02-19 21:38:47 UTC) #12
Mathieu
Thanks, will send through CQ https://codereview.chromium.org/930853005/diff/80001/chrome/browser/ui/browser_instant_controller.cc File chrome/browser/ui/browser_instant_controller.cc (right): https://codereview.chromium.org/930853005/diff/80001/chrome/browser/ui/browser_instant_controller.cc#newcode25 chrome/browser/ui/browser_instant_controller.cc:25: #include "content/public/browser/navigation_entry.h" On 2015/02/19 ...
5 years, 10 months ago (2015-02-19 21:45:40 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/930853005/100001
5 years, 10 months ago (2015-02-19 21:46:47 UTC) #16
kmadhusu
On 2015/02/19 21:46:47, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
5 years, 10 months ago (2015-02-19 21:47:56 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/43971)
5 years, 10 months ago (2015-02-19 21:52:14 UTC) #19
Mathieu
+newt OWNERS approval needed for changing a method signature in chrome/browser/android Thanks
5 years, 10 months ago (2015-02-19 22:08:16 UTC) #21
newt (away)
chrome/browser/android lgtm
5 years, 10 months ago (2015-02-19 22:11:37 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/930853005/100001
5 years, 10 months ago (2015-02-19 22:13:00 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years, 10 months ago (2015-02-20 00:10:14 UTC) #25
commit-bot: I haz the power
5 years, 10 months ago (2015-02-20 00:11:07 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/880d328f729c6986b2502467a477e8fb093b8525
Cr-Commit-Position: refs/heads/master@{#317180}

Powered by Google App Engine
This is Rietveld 408576698