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

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: Use emplace to insert; remove copy constructor 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
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/data_use_measurement/core/data_use.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/data_use_measurement/core/data_use.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698