| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright 2014 The Chromium Authors. All rights reserved. | 2 Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
| 4 found in the LICENSE file. | 4 found in the LICENSE file. |
| 5 --> | 5 --> |
| 6 | 6 |
| 7 <!-- | 7 <!-- |
| 8 This file is used to generate a comprehensive list of Chrome rappor metrics | 8 This file is used to generate a comprehensive list of Chrome rappor metrics |
| 9 along with a detailed description for each histogram. See the design doc at | 9 along with a detailed description for each histogram. See the design doc at |
| 10 http://www.chromium.org/developers/design-documents/rappor | 10 http://www.chromium.org/developers/design-documents/rappor |
| 11 for a description of rappor metrics. | 11 for a description of rappor metrics. |
| 12 | 12 |
| 13 TODO(holte): Add validation and pretty printing scripts. | 13 TODO(holte): Add validation and pretty printing scripts. |
| 14 --> | 14 --> |
| 15 | 15 |
| 16 <rappor-configuration> | 16 <rappor-configuration> |
| 17 | 17 |
| 18 <!-- |
| 19 Parameters that rappor metrics can be collected with. This list should be |
| 20 kept in sync with parameter type definitions in |
| 21 components/rappor/rappor_service.cc. |
| 22 --> |
| 23 |
| 24 <rappor-parameter-types> |
| 25 |
| 26 <rappor-parameters name="ETLD_PLUS_ONE"> |
| 27 <summary> |
| 28 Parameters suitable for collecting the domain and registry of a URL from |
| 29 UMA opt-in users. |
| 30 </summary> |
| 31 <parameters num-cohorts="128" |
| 32 bytes="16" |
| 33 hash-functions="2" |
| 34 fake-prob=".5" |
| 35 fake-one-prob=".5" |
| 36 one-coin-prob=".75" |
| 37 zero-coin-prob=".25" |
| 38 reporting-level="FINE"> |
| 39 </parameters> |
| 40 </rappor-parameters> |
| 41 |
| 42 <rappor-parameters name="COARSE_RAPPOR_TYPE"> |
| 43 <summary> |
| 44 Stricter parameters for metrics collected from a broader population. |
| 45 </summary> |
| 46 <parameters num-cohorts="128" |
| 47 bytes="1" |
| 48 hash-functions="2" |
| 49 fake-prob=".5" |
| 50 fake-one-prob=".5" |
| 51 one-coin-prob=".75" |
| 52 zero-coin-prob=".25" |
| 53 reporting-level="COARSE"> |
| 54 </rappor-parameters> |
| 55 |
| 56 </rappor-parameter-types> |
| 57 |
| 18 <!-- Rappor metric definitions --> | 58 <!-- Rappor metric definitions --> |
| 19 | 59 |
| 20 <rappor-metrics> | 60 <rappor-metrics> |
| 21 | 61 |
| 22 <rappor-metric name="Extensions.PossibleAdInjection2" type="ETLD_PLUS_ONE"> | 62 <rappor-metric name="Extensions.PossibleAdInjection2" type="ETLD_PLUS_ONE"> |
| 23 <owner>rdevlin.cronin@chromium.org</owner> | 63 <owner>rdevlin.cronin@chromium.org</owner> |
| 24 <summary> | 64 <summary> |
| 25 The eTLD+1 of a URL that might be doing ad injection. | 65 The eTLD+1 of a URL that might be doing ad injection. |
| 26 </summary> | 66 </summary> |
| 27 </rappor-metric> | 67 </rappor-metric> |
| (...skipping 27 matching lines...) Expand all Loading... |
| 55 <owner>holte@chromium.org</owner> | 95 <owner>holte@chromium.org</owner> |
| 56 <summary> | 96 <summary> |
| 57 The domain and registry of the URL chrome://newtab is rewritten to. | 97 The domain and registry of the URL chrome://newtab is rewritten to. |
| 58 Recorded when a profile is loaded, if the URL is valid. | 98 Recorded when a profile is loaded, if the URL is valid. |
| 59 </summary> | 99 </summary> |
| 60 </rappor-metric> | 100 </rappor-metric> |
| 61 | 101 |
| 62 </rappor-metrics> | 102 </rappor-metrics> |
| 63 | 103 |
| 64 </rappor-configuration> | 104 </rappor-configuration> |
| OLD | NEW |