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

Issue 276073002: [AiS] Provide Answers queries with a session token. (Closed)

Created:
6 years, 7 months ago by groby-ooo-7-16
Modified:
6 years, 7 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, James Su, Justin Donnelly, Maria
Visibility:
Public.

Description

[AiS] Provide Answers queries with a session token. Answers requires a session token to utilize the caching for Answers. The token has a lifetime of one minute, and the expiration time gets refreshed with each new query sent. BUG=370192 R=pkasting@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270307

Patch Set 1 #

Total comments: 28

Patch Set 2 : Review fixes. #

Total comments: 2

Patch Set 3 : Fix constant naming. #

Patch Set 4 : Merge to HEAD, update kCurrentDataVersion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -2 lines) Patch
M chrome/browser/autocomplete/search_provider.h View 1 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/search_provider.cc View 1 2 3 4 chunks +25 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/search_provider_unittest.cc View 1 2 3 1 chunk +70 lines, -0 lines 0 comments Download
M chrome/browser/search_engines/prepopulated_engines.json View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/search_engines/template_url.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/search_engines/template_url.cc View 1 2 3 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/search_engines/template_url_unittest.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
groby-ooo-7-16
6 years, 7 months ago (2014-05-09 20:57:28 UTC) #1
groby-ooo-7-16
If I had known where the tree was headed, I would've rolled it into the ...
6 years, 7 months ago (2014-05-09 20:58:29 UTC) #2
Peter Kasting
https://codereview.chromium.org/276073002/diff/1/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/276073002/diff/1/chrome/browser/autocomplete/search_provider.cc#newcode644 chrome/browser/autocomplete/search_provider.cc:644: #if defined(OS_ANDROID) Why is this ifdef necessary? It seems ...
6 years, 7 months ago (2014-05-09 21:35:07 UTC) #3
groby-ooo-7-16
While I'm working on the fixes, a few quick questions https://codereview.chromium.org/276073002/diff/1/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/276073002/diff/1/chrome/browser/autocomplete/search_provider.cc#newcode644 ...
6 years, 7 months ago (2014-05-09 21:50:25 UTC) #4
groby-ooo-7-16
And here are the fixes - PTAL https://codereview.chromium.org/276073002/diff/1/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/276073002/diff/1/chrome/browser/autocomplete/search_provider.cc#newcode646 chrome/browser/autocomplete/search_provider.cc:646: switches::kEnableAnswersInSuggest)) On ...
6 years, 7 months ago (2014-05-09 22:18:09 UTC) #5
Peter Kasting
LGTM https://codereview.chromium.org/276073002/diff/1/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/276073002/diff/1/chrome/browser/autocomplete/search_provider.cc#newcode644 chrome/browser/autocomplete/search_provider.cc:644: #if defined(OS_ANDROID) On 2014/05/09 21:50:25, groby wrote: > ...
6 years, 7 months ago (2014-05-09 22:29:24 UTC) #6
groby-ooo-7-16
https://codereview.chromium.org/276073002/diff/20001/chrome/browser/autocomplete/search_provider_unittest.cc File chrome/browser/autocomplete/search_provider_unittest.cc (right): https://codereview.chromium.org/276073002/diff/20001/chrome/browser/autocomplete/search_provider_unittest.cc#newcode3130 chrome/browser/autocomplete/search_provider_unittest.cc:3130: const base::TimeDelta small_delta = base::TimeDelta::FromMilliseconds(1); On 2014/05/09 22:29:24, Peter ...
6 years, 7 months ago (2014-05-09 23:22:41 UTC) #7
groby-ooo-7-16
The CQ bit was checked by groby@chromium.org
6 years, 7 months ago (2014-05-09 23:22:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/276073002/40001
6 years, 7 months ago (2014-05-09 23:27:14 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-10 02:52:13 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-10 03:02:02 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/152753)
6 years, 7 months ago (2014-05-10 03:02:03 UTC) #12
groby-ooo-7-16
FYI: Updated version number.
6 years, 7 months ago (2014-05-13 23:30:05 UTC) #13
groby-ooo-7-16
The CQ bit was checked by groby@chromium.org
6 years, 7 months ago (2014-05-13 23:30:10 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/groby@chromium.org/276073002/60001
6 years, 7 months ago (2014-05-13 23:30:31 UTC) #15
commit-bot: I haz the power
6 years, 7 months ago (2014-05-14 02:57:45 UTC) #16
Message was sent while issue was closed.
Change committed as 270307

Powered by Google App Engine
This is Rietveld 408576698