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

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: Removing few commented lines. Created 5 years, 4 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 10ff0dad29eb66d9d86f1b4209dfd2a58b83a261..a2ed70bb9657f089ea91a1c57875eb6f3ac22556 100644
--- a/chrome/browser/net/chrome_network_delegate.h
+++ b/chrome/browser/net/chrome_network_delegate.h
@@ -14,6 +14,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/core/data_use_measurement.h"
#include "net/base/network_delegate_impl.h"
class ChromeExtensionsNetworkDelegate;
@@ -199,6 +200,9 @@ class ChromeNetworkDelegate : public net::NetworkDelegateImpl {
// When true, allow access to all file:// URLs.
static bool g_allow_file_access_;
+ // Measuring component to measure data use of services.
+ data_use_measurement::DataUseMeasurement data_use_measurement_;
+
bool experimental_web_platform_features_enabled_;
DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate);

Powered by Google App Engine
This is Rietveld 408576698