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

Issue 58003005: Modify Entity Suggestion support and Add Profile Suggest support (Closed)

Created:
7 years, 1 month ago by Anuj
Modified:
6 years, 5 months ago
CC:
chromium-reviews, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Modify Entity Suggestion support and Add Profile Suggest support - Added new AutocompleteMatchType for the two, and additionally for personalized and infinite suggestion. - Added logging for the new suggestion types. - Annotation for entities is now used as description in the match. This allows multiline rendering in mobile easily. - Profile suggestions also look like entity suggestion, and use title, annotation and query fields in response. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=240174

Patch Set 1 #

Total comments: 22

Patch Set 2 : Removed classifications from server #

Total comments: 8

Patch Set 3 : Addressed comments and synced #

Patch Set 4 : Fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -226 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_controller.cc View 1 3 chunks +24 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_match.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/search_provider.h View 1 2 4 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/search_provider.cc View 1 2 15 chunks +48 lines, -61 lines 0 comments Download
M chrome/browser/autocomplete/search_provider_unittest.cc View 1 2 3 6 chunks +22 lines, -142 lines 0 comments Download
M chrome/browser/autocomplete/zero_suggest_provider.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/metrics/metrics_log.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/common/autocomplete_match_type.h View 1 2 1 chunk +25 lines, -16 lines 0 comments Download
M chrome/common/autocomplete_match_type.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/metrics/proto/omnibox_event.proto View 1 2 1 chunk +9 lines, -1 line 0 comments Download

Messages

Total messages: 21 (0 generated)
Anuj
PTAL. I haven't modified tests yet, but please take a look before I spend more ...
7 years, 1 month ago (2013-11-05 02:07:30 UTC) #1
Peter Kasting
In short, I veto allowing the server to provide the classification data. Do it how ...
7 years, 1 month ago (2013-11-05 23:36:58 UTC) #2
Anuj
Please explain your veto! I am really not a fan of implementing text layouts in ...
7 years, 1 month ago (2013-11-06 00:18:27 UTC) #3
Peter Kasting
https://codereview.chromium.org/58003005/diff/1/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/58003005/diff/1/chrome/browser/autocomplete/search_provider.cc#newcode357 chrome/browser/autocomplete/search_provider.cc:357: const ACMatchClassifications& annotation_class, On 2013/11/06 00:18:28, Anuj wrote: > ...
7 years, 1 month ago (2013-11-06 00:34:26 UTC) #4
Anuj
Adding sky@ for logging. https://codereview.chromium.org/58003005/diff/1/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/58003005/diff/1/chrome/browser/autocomplete/search_provider.cc#newcode163 chrome/browser/autocomplete/search_provider.cc:163: // Whether the given suggestion ...
7 years ago (2013-12-09 08:24:56 UTC) #5
Anuj
Bumping up in your queue
7 years ago (2013-12-10 00:54:38 UTC) #6
sky
By logging I think you mean metrics. There are better local owners for that. sky->isherman
7 years ago (2013-12-10 01:24:21 UTC) #7
Ilya Sherman
Please first commit the .proto changes in the google3 repository, to satisfy the log team's ...
7 years ago (2013-12-10 01:28:23 UTC) #8
Anuj
Sent the google3 CL.
7 years ago (2013-12-10 01:39:17 UTC) #9
Anuj
I will submit this change after the google3 CL is submitted. PTAL. https://codereview.chromium.org/58003005/diff/80001/chrome/common/metrics/proto/omnibox_event.proto File chrome/common/metrics/proto/omnibox_event.proto ...
7 years ago (2013-12-10 01:39:45 UTC) #10
Peter Kasting
LGTM https://codereview.chromium.org/58003005/diff/80001/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (left): https://codereview.chromium.org/58003005/diff/80001/chrome/browser/autocomplete/search_provider.cc#oldcode120 chrome/browser/autocomplete/search_provider.cc:120: IDS_ANNOTATED_SUGGESTION, match_contents, annotation, &positions); If we're removing the ...
7 years ago (2013-12-10 03:52:30 UTC) #11
Mark P
https://codereview.chromium.org/58003005/diff/80001/chrome/common/metrics/proto/omnibox_event.proto File chrome/common/metrics/proto/omnibox_event.proto (right): https://codereview.chromium.org/58003005/diff/80001/chrome/common/metrics/proto/omnibox_event.proto#newcode178 chrome/common/metrics/proto/omnibox_event.proto:178: // Google+ profile. On 2013/12/10 03:52:30, Peter Kasting wrote: ...
7 years ago (2013-12-10 15:10:18 UTC) #12
Anuj
I will sync the comments in google3 proto file shortly after submitting this CL. Ilya, ...
7 years ago (2013-12-10 23:08:08 UTC) #13
Ilya Sherman
metrics lgtm
7 years ago (2013-12-10 23:11:07 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/58003005/120001
7 years ago (2013-12-10 23:51:36 UTC) #15
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=40491
7 years ago (2013-12-11 00:12:06 UTC) #16
Anuj
Adding back sky for autocomplete_match_type.{h,cc}. Peter, Why don't you own those files?!!!!
7 years ago (2013-12-11 00:46:42 UTC) #17
sky
autocomplete_match.* LGTM
7 years ago (2013-12-11 14:06:47 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skanuj@chromium.org/58003005/120001
7 years ago (2013-12-11 18:08:57 UTC) #19
commit-bot: I haz the power
Change committed as 240174
7 years ago (2013-12-11 20:45:06 UTC) #20
H Fung
6 years, 5 months ago (2014-07-01 17:39:03 UTC) #21
Message was sent while issue was closed.
Do you want to delete patch set 5?  I think it's unrelated to this CL.  (I'm
guessing patch set 4 was committed).

Powered by Google App Engine
This is Rietveld 408576698