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

Side by Side Diff: components/data_use_measurement/core/data_use_user_data.h

Issue 2925733002: Move ranker_model_loader to a new component. (Closed)
Patch Set: Adressing sdefresne's comments. Created 3 years, 5 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 | « components/BUILD.gn ('k') | components/data_use_measurement/core/data_use_user_data.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 GAIA, 60 GAIA,
61 CAPTIVE_PORTAL, 61 CAPTIVE_PORTAL,
62 WEB_RESOURCE_SERVICE, 62 WEB_RESOURCE_SERVICE,
63 SIGNIN, 63 SIGNIN,
64 NTP_SNIPPETS_SUGGESTIONS, 64 NTP_SNIPPETS_SUGGESTIONS,
65 NTP_SNIPPETS_THUMBNAILS, 65 NTP_SNIPPETS_THUMBNAILS,
66 DOODLE, 66 DOODLE,
67 UKM, 67 UKM,
68 PAYMENTS, 68 PAYMENTS,
69 LARGE_ICON_SERVICE, 69 LARGE_ICON_SERVICE,
70 MACHINE_INTELLIGENCE,
70 }; 71 };
71 72
72 // Data use broken by content type. This enum must remain synchronized 73 // Data use broken by content type. This enum must remain synchronized
73 // with the enum of the same name in metrics/histograms/histograms.xml. 74 // with the enum of the same name in metrics/histograms/histograms.xml.
74 // These values are written to logs. New enum values can be added, but 75 // These values are written to logs. New enum values can be added, but
75 // existing enums must never be renumbered or deleted and reused. 76 // existing enums must never be renumbered or deleted and reused.
76 enum DataUseContentType { 77 enum DataUseContentType {
77 OTHER = 0, 78 OTHER = 0,
78 MAIN_FRAME_HTML = 1, 79 MAIN_FRAME_HTML = 1,
79 NON_MAIN_FRAME_HTML = 2, 80 NON_MAIN_FRAME_HTML = 2,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 AppState app_state_; 132 AppState app_state_;
132 133
133 DataUseContentType content_type_; 134 DataUseContentType content_type_;
134 135
135 DISALLOW_COPY_AND_ASSIGN(DataUseUserData); 136 DISALLOW_COPY_AND_ASSIGN(DataUseUserData);
136 }; 137 };
137 138
138 } // namespace data_use_measurement 139 } // namespace data_use_measurement
139 140
140 #endif // COMPONENTS_DATA_USE_MEASUREMENT_CORE_DATA_USE_USER_DATA_H_ 141 #endif // COMPONENTS_DATA_USE_MEASUREMENT_CORE_DATA_USE_USER_DATA_H_
OLDNEW
« no previous file with comments | « components/BUILD.gn ('k') | components/data_use_measurement/core/data_use_user_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698