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

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

Issue 2865913002: Support for identifying traffic type in data use ascriber (Closed)
Patch Set: rebaesd Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: components/data_use_measurement/core/data_use.cc
diff --git a/components/data_use_measurement/core/data_use.cc b/components/data_use_measurement/core/data_use.cc
index c84da07f1faf1bd8eab55c7529b754583533330f..3173cf24704423e524f20a8a1a19363e67b60f90 100644
--- a/components/data_use_measurement/core/data_use.cc
+++ b/components/data_use_measurement/core/data_use.cc
@@ -6,7 +6,8 @@
namespace data_use_measurement {
-DataUse::DataUse() : total_bytes_sent_(0), total_bytes_received_(0) {}
+DataUse::DataUse()
+ : traffic_type_(UNKNOWN), total_bytes_sent_(0), total_bytes_received_(0) {}
DataUse::DataUse(const DataUse& other) :
total_bytes_sent_(other.total_bytes_sent_),

Powered by Google App Engine
This is Rietveld 408576698