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

Unified Diff: chrome/browser/net/chrome_network_delegate.h

Issue 1279543002: Support needed to measure user and service traffic in Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@NewHistogram
Patch Set: Addressed comments and rebased. Created 5 years, 3 months 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/browser/net/DEPS ('k') | chrome/browser/net/chrome_network_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/chrome_network_delegate.h
diff --git a/chrome/browser/net/chrome_network_delegate.h b/chrome/browser/net/chrome_network_delegate.h
index e4f69907556654d956d3e0d46d1d91e4192e8120..dfcb8435f604f3798f8577589ab131c0ba0554c3 100644
--- a/chrome/browser/net/chrome_network_delegate.h
+++ b/chrome/browser/net/chrome_network_delegate.h
@@ -18,6 +18,10 @@
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h"
#include "net/base/network_delegate_impl.h"
+#if !defined(OS_IOS)
+#include "components/data_use_measurement/content/data_use_measurement.h"
+#endif
+
class ChromeExtensionsNetworkDelegate;
class PrefService;
@@ -202,6 +206,11 @@ class ChromeNetworkDelegate : public net::NetworkDelegateImpl {
// When true, allow access to all file:// URLs.
static bool g_allow_file_access_;
+// Component to measure data use.
+#if !defined(OS_IOS)
+ data_use_measurement::DataUseMeasurement data_use_measurement_;
+#endif
+
bool experimental_web_platform_features_enabled_;
DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate);
« no previous file with comments | « chrome/browser/net/DEPS ('k') | chrome/browser/net/chrome_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698