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

Issue 11576044: Remove call to IsInstantExtendedAPIGoogleSearchUrl from ToolbarModel. (Closed)

Created:
8 years ago by beaudoin
Modified:
7 years, 11 months ago
CC:
chromium-reviews, James Su, dhollowa, Jered, David Black
Visibility:
Public.

Description

Remove call to IsInstantExtendedAPIGoogleSearchUrl from ToolbarModel. Adds a mechanism to TemplateURL to optionally allow search term extraction only when a given key is present (for Google, this is "espv"). Uses this to ensure ToolbarModel no longer relies on the hardcoded "espv" parameter. Depends on: https://codereview.chromium.org/11552020/ BUG=161602 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175656

Patch Set 1 #

Total comments: 6

Patch Set 2 : Answered PK comments. #

Patch Set 3 : Changed behavior, as discussed w pkasting, dcblack #

Patch Set 4 : Removed call to IsInstantExtendedAPIGoogleSearchUrl #

Patch Set 5 : Fixed failing test #

Patch Set 6 : Fixed browser tests #

Total comments: 2

Patch Set 7 : Fixed nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -10 lines) Patch
M chrome/browser/policy/policy_browsertest.cc View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/search_engines/prepopulated_engines_schema.json View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/search_engines/template_url.h View 1 2 1 chunk +9 lines, -3 lines 0 comments Download
M chrome/browser/search_engines/template_url.cc View 1 2 3 4 4 chunks +28 lines, -2 lines 0 comments Download
M chrome/browser/search_engines/template_url_unittest.cc View 1 2 3 4 5 6 2 chunks +112 lines, -0 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_model_impl.cc View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/ui/toolbar/toolbar_model_unittest.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
beaudoin
Hi Peter! This is the first follow-up patch to https://codereview.chromium.org/11552020/ It optionally looks for the ...
8 years ago (2012-12-15 00:18:44 UTC) #1
Peter Kasting
Basically, the questions I have about this are the ones I stated a little earlier ...
8 years ago (2012-12-18 02:09:22 UTC) #2
beaudoin
Your concerns on the ref/query quirks for "espv" are legitimate. As I said on the ...
8 years ago (2012-12-20 04:40:56 UTC) #3
Peter Kasting
https://codereview.chromium.org/11576044/diff/1/chrome/browser/search_engines/template_url.cc File chrome/browser/search_engines/template_url.cc (right): https://codereview.chromium.org/11576044/diff/1/chrome/browser/search_engines/template_url.cc#newcode510 chrome/browser/search_engines/template_url.cc:510: base::StringPiece key_string(params.begin() + key.begin, On 2012/12/20 04:40:56, beaudoin wrote: ...
8 years ago (2012-12-20 19:40:16 UTC) #4
beaudoin
Simplified the behavior when checking for search_terms_replacement_key according to discussions with pkasting and dcblack. Consequently, ...
7 years, 11 months ago (2013-01-08 16:55:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/beaudoin@chromium.org/11576044/18001
7 years, 11 months ago (2013-01-08 19:35:29 UTC) #6
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 11 months ago (2013-01-08 19:39:06 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/beaudoin@chromium.org/11576044/18004
7 years, 11 months ago (2013-01-08 20:15:42 UTC) #8
commit-bot: I haz the power
Failed to trigger a try job on linux_chromeos HTTP Error 400: Bad Request
7 years, 11 months ago (2013-01-08 21:20:58 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/beaudoin@chromium.org/11576044/28005
7 years, 11 months ago (2013-01-08 21:21:18 UTC) #10
commit-bot: I haz the power
Presubmit check for 11576044-28005 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 11 months ago (2013-01-08 21:21:28 UTC) #11
beaudoin
+joaodasilva for c/b/policy
7 years, 11 months ago (2013-01-08 21:26:47 UTC) #12
beaudoin
Hi joao! Could you please take a quick look at that CL, I was getting ...
7 years, 11 months ago (2013-01-08 21:27:28 UTC) #13
Joao da Silva
policy/ lgtm https://codereview.chromium.org/11576044/diff/28005/chrome/browser/search_engines/template_url_unittest.cc File chrome/browser/search_engines/template_url_unittest.cc (right): https://codereview.chromium.org/11576044/diff/28005/chrome/browser/search_engines/template_url_unittest.cc#newcode846 chrome/browser/search_engines/template_url_unittest.cc:846: nit: single newline?
7 years, 11 months ago (2013-01-08 21:38:20 UTC) #14
beaudoin
https://codereview.chromium.org/11576044/diff/28005/chrome/browser/search_engines/template_url_unittest.cc File chrome/browser/search_engines/template_url_unittest.cc (right): https://codereview.chromium.org/11576044/diff/28005/chrome/browser/search_engines/template_url_unittest.cc#newcode846 chrome/browser/search_engines/template_url_unittest.cc:846: On 2013/01/08 21:38:20, Joao da Silva wrote: > nit: ...
7 years, 11 months ago (2013-01-08 21:46:50 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/beaudoin@chromium.org/11576044/15004
7 years, 11 months ago (2013-01-08 21:47:47 UTC) #16
commit-bot: I haz the power
7 years, 11 months ago (2013-01-09 01:47:22 UTC) #17
Message was sent while issue was closed.
Change committed as 175656

Powered by Google App Engine
This is Rietveld 408576698