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

Unified Diff: components/data_use_measurement/core/data_use_user_data.cc

Issue 2595503002: Record the data use by content type (Closed)
Patch Set: fixed nits Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: components/data_use_measurement/core/data_use_user_data.cc
diff --git a/components/data_use_measurement/core/data_use_user_data.cc b/components/data_use_measurement/core/data_use_user_data.cc
index 6c9681661d08016ce4c5dd31a1ec98a937656772..ae86b2e3c593de508ffc193bf555c342f0a21f0b 100644
--- a/components/data_use_measurement/core/data_use_user_data.cc
+++ b/components/data_use_measurement/core/data_use_user_data.cc
@@ -29,7 +29,9 @@ DataUseUserData::AppState GetCurrentAppState() {
} // namespace
DataUseUserData::DataUseUserData(ServiceName service_name, AppState app_state)
- : service_name_(service_name), app_state_(app_state) {}
+ : service_name_(service_name),
+ app_state_(app_state),
+ content_type_(DataUseContentType::OTHER) {}
DataUseUserData::~DataUseUserData() {}

Powered by Google App Engine
This is Rietveld 408576698