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

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

Issue 1390993005: Amortize data usage using TrafficStats on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@data_use_buffering
Patch Set: Simplified and polished design, still ironing out tests Created 5 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_usage/core/data_use.h
diff --git a/components/data_usage/core/data_use.h b/components/data_usage/core/data_use.h
index e04d04cdd48280b389a3278c86c70496c30c32b1..9a1c3398f516ac99a8a539b52436be8ba28b8d47 100644
--- a/components/data_usage/core/data_use.h
+++ b/components/data_usage/core/data_use.h
@@ -48,6 +48,11 @@ struct DataUse {
int64_t tx_bytes;
int64_t rx_bytes;
+
+ // TODO in this CL: remove these debug members.
bengr 2015/11/10 18:12:50 Remove them.
sclittle 2015/11/11 02:10:08 Done.
+ int64_t before_tx_bytes;
+ int64_t before_rx_bytes;
+ base::TimeTicks created_ticks;
};
} // namespace data_usage

Powered by Google App Engine
This is Rietveld 408576698