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

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: Addressing blundell's comments. 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
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..33734cc781878bcf537f12573c96ac7433ebe7f6 100644
--- a/chrome/browser/net/chrome_network_delegate.h
+++ b/chrome/browser/net/chrome_network_delegate.h
@@ -16,6 +16,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/values.h"
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h"
+#include "components/data_use_measurement/content/data_use_measurement.h"
#include "net/base/network_delegate_impl.h"
class ChromeExtensionsNetworkDelegate;
@@ -202,6 +203,9 @@ class ChromeNetworkDelegate : public net::NetworkDelegateImpl {
// When true, allow access to all file:// URLs.
static bool g_allow_file_access_;
+ // Component to measure data use.
+ data_use_measurement::DataUseMeasurement data_use_measurement_;
mmenke 2015/09/02 21:48:08 Worth noting this will miss PAC requests (Though t
amohammadkhan 2015/09/03 04:31:18 Thanks for the heads up. I think currently most of
+
bool experimental_web_platform_features_enabled_;
DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate);

Powered by Google App Engine
This is Rietveld 408576698