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

Issue 601003002: Add a template url accessor for contextual search that doesn't preload. (Closed)

Created:
6 years, 3 months ago by Donn Denman
Modified:
6 years, 3 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add a template url accessor for contextual search that doesn't prefetch. BUG=416225 Committed: https://crrev.com/8ab8c6d93cb113e7d20f2c4db11cf86aad73ad13 Cr-Commit-Position: refs/heads/master@{#296629}

Patch Set 1 #

Patch Set 2 : Updated CL description #

Total comments: 2

Patch Set 3 : Use a separate shouldPrefetch boolean as suggested by Pedro. #

Total comments: 2

Patch Set 4 : Add back the accessor with the current signature for compatability. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -12 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java View 1 2 3 2 chunks +16 lines, -8 lines 0 comments Download
M chrome/browser/search_engines/template_url_service_android.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/search_engines/template_url_service_android.cc View 1 2 2 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
Donn Denman
Pedro, I need this non-preloading capability for the long-press literal work I'm doing downstream. PTAL. ...
6 years, 3 months ago (2014-09-24 22:46:19 UTC) #2
pedro (no code reviews)
Hey Donn, I've made a suggestion to make it simpler. Let me know what you ...
6 years, 3 months ago (2014-09-24 23:18:17 UTC) #3
Donn Denman
PTAL, thanks! https://codereview.chromium.org/601003002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java File chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java (right): https://codereview.chromium.org/601003002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java#newcode229 chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java:229: * The returned URL does not have ...
6 years, 3 months ago (2014-09-25 00:01:03 UTC) #4
pedro (no code reviews)
Just one more comment, otherwise it looks good. https://codereview.chromium.org/601003002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java File chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java (right): https://codereview.chromium.org/601003002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java#newcode236 chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java:236: public ...
6 years, 3 months ago (2014-09-25 00:16:10 UTC) #5
donnd
Thanks Pedro! https://codereview.chromium.org/601003002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java File chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java (right): https://codereview.chromium.org/601003002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java#newcode236 chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java:236: public String getUrlForContextualSearchQuery(String query, String alternateTerm, On ...
6 years, 3 months ago (2014-09-25 00:23:47 UTC) #7
donnd
Yaron, PTAL. Thanks!
6 years, 3 months ago (2014-09-25 00:27:38 UTC) #9
Yaron
lgtm nit: update CL description to "prefetch" not "preload" to match the code
6 years, 3 months ago (2014-09-25 00:34:19 UTC) #10
donnd
On 2014/09/25 00:34:19, Yaron wrote: > lgtm > > nit: update CL description to "prefetch" ...
6 years, 3 months ago (2014-09-25 00:50:19 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/601003002/60001
6 years, 3 months ago (2014-09-25 00:52:50 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 72521deea427b2c88511b06f632bc0a79ae7931b
6 years, 3 months ago (2014-09-25 02:18:09 UTC) #14
commit-bot: I haz the power
6 years, 3 months ago (2014-09-25 02:18:44 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8ab8c6d93cb113e7d20f2c4db11cf86aad73ad13
Cr-Commit-Position: refs/heads/master@{#296629}

Powered by Google App Engine
This is Rietveld 408576698