Chromium Code Reviews| Index: chrome/common/safe_browsing/permission_report.proto |
| diff --git a/chrome/common/safe_browsing/permission_report.proto b/chrome/common/safe_browsing/permission_report.proto |
| index 59dc519e40172ecf2d29e4e4cadd0167b282f421..604b2214dfd4c589a325d26e1efdc9c4904a1a4e 100644 |
| --- a/chrome/common/safe_browsing/permission_report.proto |
| +++ b/chrome/common/safe_browsing/permission_report.proto |
| @@ -34,9 +34,7 @@ message PermissionReport { |
| optional SourceUI source_ui = 6; |
| // The relevant field trials enabled for this report. |
| - // TODO(stefanocs): Update field_trials field to store hashes instead of |
| - // string. |
| - repeated string field_trials = 7; |
| + repeated FieldTrial field_trials = 7; |
| // Platform |
| enum PlatformType { |
| @@ -89,4 +87,21 @@ message PermissionReport { |
| AUDIO_CAPTURE = 8; |
| VIDEO_CAPTURE = 9; |
| } |
| + |
| + // Description of a field trial or experiment that the user is currently |
| + // enrolled in. |
|
raymes
2016/06/08 03:00:11
nit: fill 80 char lines
stefanocs
2016/06/08 03:47:22
Done.
|
| + // All metrics reported in this upload can potentially be influenced by the |
| + // field trial. |
| + // This message is copied from |
|
raymes
2016/06/08 03:00:11
nit you can add a new line above this for a new pa
stefanocs
2016/06/08 03:47:22
Done.
|
| + // //src/components/metrics/proto/system_profile.proto |
| + // since the file cannot be imported by the current build system. |
|
raymes
2016/06/08 03:00:11
Hmm do you know why this is? Is it hard to fix? Sh
stefanocs
2016/06/08 03:47:22
Yes, I discussed this issue with Johan yesterday.
raymes
2016/06/09 01:44:17
Do you think it would be hard to change the script
stefanocs
2016/06/09 07:45:09
I have tried a simple fix by adding //src to proto
|
| + message FieldTrial { |
| + // The name of the field trial, as a 32-bit identifier. |
|
raymes
2016/06/08 03:00:11
nit: fill 80 chars
stefanocs
2016/06/08 03:47:22
Done.
|
| + // Currently, the identifier is a hash of the field trial's name. |
| + optional fixed32 name_id = 1; |
| + |
| + // The user's group within the field trial, as a 32-bit identifier. |
| + // Currently, the identifier is a hash of the group's name. |
| + optional fixed32 group_id = 2; |
| + } |
| } |