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

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

Issue 2534023002: Create a DataUseRecorder instance for each page load in Chrome. (Closed)
Patch Set: Addressed comments Created 4 years, 1 month 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.h
diff --git a/components/data_use_measurement/core/data_use.h b/components/data_use_measurement/core/data_use.h
index 55cb7e57ed1abc4347c701a643548926a040f3c1..18e706dc6d4d40b45e151073bcb3d8df5c560f66 100644
--- a/components/data_use_measurement/core/data_use.h
+++ b/components/data_use_measurement/core/data_use.h
@@ -19,6 +19,7 @@ namespace data_use_measurement {
class DataUse {
public:
DataUse();
+ DataUse(const DataUse& other);
~DataUse();
// Merge data use from another instance.
@@ -46,8 +47,6 @@ class DataUse {
int64_t total_bytes_sent_;
int64_t total_bytes_received_;
-
- DISALLOW_COPY_AND_ASSIGN(DataUse);
};
} // namespace data_use_measurement

Powered by Google App Engine
This is Rietveld 408576698