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

Side by Side Diff: chrome/common/safe_browsing/permission_report.proto

Issue 2250893002: Permission Action Reporting: Add num_prior_* fields. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@par-new-fields-proto
Patch Set: todo Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/safe_browsing/ui_manager.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Protocol buffer for permission reports sent to the Safe Browsing client-side 5 // Protocol buffer for permission reports sent to the Safe Browsing client-side
6 // detection (CSD) frontends. This should stay in sync with the Safe Browsing 6 // detection (CSD) frontends. This should stay in sync with the Safe Browsing
7 // server-side protocol buffer. 7 // server-side protocol buffer.
8 8
9 syntax = "proto2"; 9 syntax = "proto2";
10 10
(...skipping 22 matching lines...) Expand all
33 // The UI used to complete the action. 33 // The UI used to complete the action.
34 optional SourceUI source_ui = 6; 34 optional SourceUI source_ui = 6;
35 35
36 // The relevant field trials enabled for this report. 36 // The relevant field trials enabled for this report.
37 repeated FieldTrial field_trials = 7; 37 repeated FieldTrial field_trials = 7;
38 38
39 // The number of dismissals on a prompt for this permission and origin prior 39 // The number of dismissals on a prompt for this permission and origin prior
40 // to this report since the user last cleared their history. 40 // to this report since the user last cleared their history.
41 optional int32 num_prior_dismissals = 8; 41 optional int32 num_prior_dismissals = 8;
42 42
43 // The number of ignores of a prompt for this permission and origin prior to 43 // The number of ignores of a prompt for this permission and origin prior to
44 // this report since the user last cleared their history. 44 // this report since the user last cleared their history.
45 optional int32 num_prior_ignores = 9; 45 optional int32 num_prior_ignores = 9;
46 46
47 // The persistence decision on a prompt. Only some experimental prompts will 47 // The persistence decision on a prompt. Only some experimental prompts will
48 // have this field set. 48 // have this field set.
49 optional PersistDecision persisted = 10; 49 optional PersistDecision persisted = 10;
50 50
51 // Platform 51 // Platform
52 enum PlatformType { 52 enum PlatformType {
53 PLATFORM_TYPE_UNSPECIFIED = 0; 53 PLATFORM_TYPE_UNSPECIFIED = 0;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 message FieldTrial { 110 message FieldTrial {
111 // The name of the field trial, as a 32-bit identifier. Currently, the 111 // The name of the field trial, as a 32-bit identifier. Currently, the
112 // identifier is a hash of the field trial's name. 112 // identifier is a hash of the field trial's name.
113 optional fixed32 name_id = 1; 113 optional fixed32 name_id = 1;
114 114
115 // The user's group within the field trial, as a 32-bit identifier. 115 // The user's group within the field trial, as a 32-bit identifier.
116 // Currently, the identifier is a hash of the group's name. 116 // Currently, the identifier is a hash of the group's name.
117 optional fixed32 group_id = 2; 117 optional fixed32 group_id = 2;
118 } 118 }
119 } 119 }
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/ui_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698