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

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

Issue 1421983002: Include tab IDs when reporting data use accounting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@data_use_scoped_vector
Patch Set: Fixed external_data_use_observer test 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
« no previous file with comments | « components/data_usage/core/BUILD.gn ('k') | components/data_usage/core/data_use.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ac005b3ccb22ee7b87e468572d652d11fc93c446..e04d04cdd48280b389a3278c86c70496c30c32b1 100644
--- a/components/data_usage/core/data_use.h
+++ b/components/data_usage/core/data_use.h
@@ -27,6 +27,8 @@ struct DataUse {
~DataUse();
+ bool operator==(const DataUse& other) const;
+
// Returns true if |this| and |other| are identical except for byte counts.
bool CanCombineWith(const DataUse& other) const;
« no previous file with comments | « components/data_usage/core/BUILD.gn ('k') | components/data_usage/core/data_use.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698