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

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

Issue 2865913002: Support for identifying traffic type in data use ascriber (Closed)
Patch Set: compile fix 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
« no previous file with comments | « components/data_use_measurement/core/data_use_recorder.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_use_measurement/core/data_use_recorder.cc
diff --git a/components/data_use_measurement/core/data_use_recorder.cc b/components/data_use_measurement/core/data_use_recorder.cc
index 4ba402c950299c6dd96f2fda5ad906f7218ada95..f9a387043b693216d6616c99af3c28382538e2ad 100644
--- a/components/data_use_measurement/core/data_use_recorder.cc
+++ b/components/data_use_measurement/core/data_use_recorder.cc
@@ -8,8 +8,8 @@
namespace data_use_measurement {
-DataUseRecorder::DataUseRecorder()
- : main_url_request_(nullptr), is_visible_(false) {}
+DataUseRecorder::DataUseRecorder(DataUse::TrafficType traffic_type)
+ : main_url_request_(nullptr), data_use_(traffic_type), is_visible_(false) {}
DataUseRecorder::~DataUseRecorder() {}
« no previous file with comments | « components/data_use_measurement/core/data_use_recorder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698