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

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

Issue 2462983003: Move data use measurement to DataUseNetworkDelegate (Closed)
Patch Set: Rebased and fixed nits Created 4 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 | « chrome/browser/io_thread.cc ('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 dd3d54988b7bbc2687bee4970fd05cc2e683610f..549b5e6e3deb86a41a990f9c941bcf9cd197b873 100644
--- a/chrome/browser/net/chrome_network_delegate.h
+++ b/chrome/browser/net/chrome_network_delegate.h
@@ -17,8 +17,6 @@
#include "base/values.h"
#include "build/build_config.h"
#include "chrome/browser/net/safe_search_util.h"
-#include "components/data_use_measurement/content/data_use_measurement.h"
-#include "components/metrics/data_use_tracker.h"
#include "components/prefs/pref_member.h"
#include "net/base/network_delegate_impl.h"
@@ -65,10 +63,8 @@ class ChromeNetworkDelegate : public net::NetworkDelegateImpl {
// |enable_referrers| (and all of the other optional PrefMembers) should be
// initialized on the UI thread (see below) beforehand. This object's owner is
// responsible for cleaning them up at shutdown.
- ChromeNetworkDelegate(
- extensions::EventRouterForwarder* event_router,
- BooleanPrefMember* enable_referrers,
- const metrics::UpdateUsagePrefCallbackType& metrics_data_use_forwarder);
+ ChromeNetworkDelegate(extensions::EventRouterForwarder* event_router,
+ BooleanPrefMember* enable_referrers);
~ChromeNetworkDelegate() override;
// Pass through to ChromeExtensionsNetworkDelegate::set_extension_info_map().
@@ -216,9 +212,6 @@ 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_;
-
bool experimental_web_platform_features_enabled_;
// Aggregates and reports network usage.
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/net/chrome_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698