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

Unified Diff: chrome/browser/io_thread.h

Issue 1373373002: Create component to expose network usage stats to consumers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nits Created 5 years, 2 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/DEPS ('k') | chrome/browser/io_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.h
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
index 22697c61fd3909a4ffbae488ffdffd60b1d49f18..5ef542fb8b2312b9cfe45a1a50ae0b08179a284c 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -43,6 +43,10 @@ namespace extensions {
class EventRouterForwarder;
}
+namespace data_usage {
+class DataUseAggregator;
+}
+
namespace net {
class CertPolicyEnforcer;
class CertVerifier;
@@ -122,6 +126,9 @@ class IOThread : public content::BrowserThreadDelegate {
Globals();
~Globals();
+ // Global aggregator of data use. It must outlive the
+ // |system_network_delegate|.
+ scoped_ptr<data_usage::DataUseAggregator> data_use_aggregator;
// The "system" NetworkDelegate, used for Profile-agnostic network events.
scoped_ptr<net::NetworkDelegate> system_network_delegate;
scoped_ptr<net::HostResolver> host_resolver;
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698