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

Issue 2882443003: UserEvent proto exploration for 0-Suggest use case.

Created:
3 years, 7 months ago by skym
Modified:
3 years, 7 months ago
CC:
chromium-reviews, sync-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

UserEvent proto exploration for 0-Suggest use case. DO NOT SUBMIT BUG=417815

Patch Set 1 #

Patch Set 2 : Adding proto_visitors.h change. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -1 line) Patch
M components/sync/protocol/proto_visitors.h View 1 2 chunks +11 lines, -0 lines 0 comments Download
M components/sync/protocol/user_event_specifics.proto View 2 chunks +26 lines, -1 line 4 comments Download

Depends on Patchset:

Messages

Total messages: 15 (13 generated)
Toyama
Thanks, Sky, for doing this! https://codereview.chromium.org/2882443003/diff/20001/components/sync/protocol/user_event_specifics.proto File components/sync/protocol/user_event_specifics.proto (right): https://codereview.chromium.org/2882443003/diff/20001/components/sync/protocol/user_event_specifics.proto#newcode30 components/sync/protocol/user_event_specifics.proto:30: // The |event_time_usec| of ...
3 years, 7 months ago (2017-05-16 14:08:34 UTC) #14
gcomanici
3 years, 7 months ago (2017-05-16 14:19:57 UTC) #15
Thank you for this, Sky! In general this looks good, but there is some small
issues with the naming that I would like you to address.

https://codereview.chromium.org/2882443003/diff/20001/components/sync/protoco...
File components/sync/protocol/user_event_specifics.proto (right):

https://codereview.chromium.org/2882443003/diff/20001/components/sync/protoco...
components/sync/protocol/user_event_specifics.proto:16: // Records the event of
0-suggest making a request to cusco and generating
In Chromium code base, this service is known as "experimental contextual
zero-suggest suggestions". We should try to use this instead of cusco, which is
the internal name.

How about "Records requests to the service providing experimental contextual
zero-suggest suggestions."?

https://codereview.chromium.org/2882443003/diff/20001/components/sync/protoco...
components/sync/protocol/user_event_specifics.proto:22: optional int64
cusco_request_id = 1;
We should rename this to contextual_zero_suggest_request_id.

https://codereview.chromium.org/2882443003/diff/20001/components/sync/protoco...
components/sync/protocol/user_event_specifics.proto:32: optional fixed64
request_event_id = 1;
Should the type be int64, for consistency with the event_time_usec it is
referring to? Also, the name is misleading. If we log the time and not the event
id, then the name should be something like "request_event_time_usec".

Powered by Google App Engine
This is Rietveld 408576698