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 9c34e8a8ce2faf750ca0624e44df7db2576a1699..e8663430df6401d9dfe00495cd4cbbc846dd082c 100644 |
--- a/components/data_use_measurement/core/data_use.cc |
+++ b/components/data_use_measurement/core/data_use.cc |
@@ -18,13 +18,4 @@ void DataUse::IncrementTotalBytes(int64_t bytes_received, int64_t bytes_sent) { |
total_bytes_sent_ += bytes_sent; |
tbansal1
2017/06/26 21:44:28
DCHECK_LE(0, total_bytes_received_);
DCHECK_LE(0,
Raj
2017/06/27 02:30:04
Done
|
} |
-void DataUse::MergeFrom(const DataUse& other) { |
- // Traffic type need not be same while merging. One of the data use created |
- // when mainframe is created could have UNKNOWN traffic type, and later merged |
- // with the data use created for its mainframe request which could be |
- // USER_TRAFFIC. |
- total_bytes_sent_ += other.total_bytes_sent_; |
- total_bytes_received_ += other.total_bytes_received_; |
-} |
- |
} // namespace data_use_measurement |