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

Issue 332943002: [AiS] Add a structured representation of Answer JSON. (Closed)

Created:
6 years, 6 months ago by Justin Donnelly
Modified:
6 years, 6 months ago
Reviewers:
Ted C
CC:
chromium-reviews, mariakhomenko, groby-ooo-7-16
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[AiS] Add a structured representation of Answer JSON. BUG=383907 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278217

Patch Set 1 #

Total comments: 11

Patch Set 2 : Pull, respond to comments, add image property, add more tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+334 lines, -0 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/omnibox/OmniboxSuggestion.java View 1 3 chunks +17 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/omnibox/SuggestionAnswer.java View 1 1 chunk +192 lines, -0 lines 0 comments Download
A chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/SuggestionAnswerTest.java View 1 1 chunk +125 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Justin Donnelly
Hi Ted - I'm adding more tests, but I was hoping you could take a ...
6 years, 6 months ago (2014-06-12 22:26:24 UTC) #1
groby-ooo-7-16
Drive-by comments... https://codereview.chromium.org/332943002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/omnibox/SuggestionAnswer.java File chrome/android/java/src/org/chromium/chrome/browser/omnibox/SuggestionAnswer.java (right): https://codereview.chromium.org/332943002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/omnibox/SuggestionAnswer.java#newcode52 chrome/android/java/src/org/chromium/chrome/browser/omnibox/SuggestionAnswer.java:52: return null; Might want to handle the ...
6 years, 6 months ago (2014-06-12 23:10:50 UTC) #2
Ted C
overall seems very reasonable to me. I'll give it a thorough review, but I don't ...
6 years, 6 months ago (2014-06-13 22:39:37 UTC) #3
Ted C
Ok...i lied. I think the suggestion positioning in the list is important, so I think ...
6 years, 6 months ago (2014-06-13 23:54:17 UTC) #4
Justin Donnelly
https://codereview.chromium.org/332943002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/omnibox/AutocompleteController.java File chrome/android/java/src/org/chromium/chrome/browser/omnibox/AutocompleteController.java (right): https://codereview.chromium.org/332943002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/omnibox/AutocompleteController.java#newcode218 chrome/android/java/src/org/chromium/chrome/browser/omnibox/AutocompleteController.java:218: if (!TextUtils.isEmpty(suggestion.getAnswerContents()) && !suggestion.hasAnswer()) { On 2014/06/13 23:54:16, Ted ...
6 years, 6 months ago (2014-06-16 19:32:54 UTC) #5
Justin Donnelly
PTAL Responded to comments, added image handling to the JSON parsing, and added more tests. ...
6 years, 6 months ago (2014-06-17 21:34:03 UTC) #6
Ted C
lgtm
6 years, 6 months ago (2014-06-18 17:04:41 UTC) #7
Justin Donnelly
The CQ bit was checked by jdonnelly@chromium.org
6 years, 6 months ago (2014-06-18 17:10:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdonnelly@chromium.org/332943002/20001
6 years, 6 months ago (2014-06-18 17:10:46 UTC) #9
commit-bot: I haz the power
6 years, 6 months ago (2014-06-19 01:14:52 UTC) #10
Message was sent while issue was closed.
Change committed as 278217

Powered by Google App Engine
This is Rietveld 408576698