| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef COMPONENTS_DATA_USE_MEASUREMENT_CORE_DATA_USE_USER_DATA_H_ | 5 #ifndef COMPONENTS_DATA_USE_MEASUREMENT_CORE_DATA_USE_USER_DATA_H_ |
| 6 #define COMPONENTS_DATA_USE_MEASUREMENT_CORE_DATA_USE_USER_DATA_H_ | 6 #define COMPONENTS_DATA_USE_MEASUREMENT_CORE_DATA_USE_USER_DATA_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 SUPERVISED_USER, | 57 SUPERVISED_USER, |
| 58 IMAGE_FETCHER_UNTAGGED, | 58 IMAGE_FETCHER_UNTAGGED, |
| 59 GAIA, | 59 GAIA, |
| 60 CAPTIVE_PORTAL, | 60 CAPTIVE_PORTAL, |
| 61 WEB_RESOURCE_SERVICE, | 61 WEB_RESOURCE_SERVICE, |
| 62 SIGNIN, | 62 SIGNIN, |
| 63 NTP_SNIPPETS_SUGGESTIONS, | 63 NTP_SNIPPETS_SUGGESTIONS, |
| 64 NTP_SNIPPETS_THUMBNAILS, | 64 NTP_SNIPPETS_THUMBNAILS, |
| 65 DOODLE, | 65 DOODLE, |
| 66 UKM, | 66 UKM, |
| 67 PAYMENTS, |
| 67 }; | 68 }; |
| 68 | 69 |
| 69 // Data use broken by content type. This enum must remain synchronized | 70 // Data use broken by content type. This enum must remain synchronized |
| 70 // with the enum of the same name in metrics/histograms/histograms.xml. | 71 // with the enum of the same name in metrics/histograms/histograms.xml. |
| 71 // These values are written to logs. New enum values can be added, but | 72 // These values are written to logs. New enum values can be added, but |
| 72 // existing enums must never be renumbered or deleted and reused. | 73 // existing enums must never be renumbered or deleted and reused. |
| 73 enum DataUseContentType { | 74 enum DataUseContentType { |
| 74 OTHER = 0, | 75 OTHER = 0, |
| 75 MAIN_FRAME_HTML = 1, | 76 MAIN_FRAME_HTML = 1, |
| 76 NON_MAIN_FRAME_HTML = 2, | 77 NON_MAIN_FRAME_HTML = 2, |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 AppState app_state_; | 130 AppState app_state_; |
| 130 | 131 |
| 131 DataUseContentType content_type_; | 132 DataUseContentType content_type_; |
| 132 | 133 |
| 133 DISALLOW_COPY_AND_ASSIGN(DataUseUserData); | 134 DISALLOW_COPY_AND_ASSIGN(DataUseUserData); |
| 134 }; | 135 }; |
| 135 | 136 |
| 136 } // namespace data_use_measurement | 137 } // namespace data_use_measurement |
| 137 | 138 |
| 138 #endif // COMPONENTS_DATA_USE_MEASUREMENT_CORE_DATA_USE_USER_DATA_H_ | 139 #endif // COMPONENTS_DATA_USE_MEASUREMENT_CORE_DATA_USE_USER_DATA_H_ |
| OLD | NEW |