|
Create component to expose network usage stats to consumers.
Creates the new component "data_usage" that contains a
DataUseAggregator. A global DataUseAggregator is owned by the IOThread.
The ChromeNetworkDelegate reports data usage to the DataUseAggregator,
which in turn aggregates it and reports to any registered observers.
TBR=brettw@chromium.org
BUG= 518051
Committed: https://crrev.com/ae932be8cc8c618ae9ffefe720879c5ed82c38a5
Cr-Commit-Position: refs/heads/master@{#353137}
Total comments: 32
Total comments: 17
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+599 lines, -29 lines) |
Patch |
 |
M |
chrome/browser/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/DEPS
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/io_thread.h
|
View
|
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/io_thread.cc
|
View
|
1
2
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/chrome_network_delegate.h
|
View
|
|
6 chunks |
+15 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/chrome_network_delegate.cc
|
View
|
1
|
4 chunks |
+35 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/chrome_network_delegate_unittest.cc
|
View
|
1
2
|
7 chunks |
+84 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_io_data.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/OWNERS
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/components.gyp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/components_tests.gyp
|
View
|
1
2
3
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
components/data_usage.gypi
|
View
|
1
|
1 chunk |
+8 lines, -11 lines |
0 comments
|
Download
|
 |
A + |
components/data_usage/OWNERS
|
View
|
1
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A + |
components/data_usage/PRESUBMIT.py
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
components/data_usage/core/BUILD.gn
|
View
|
1
|
2 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
 |
A + |
components/data_usage/core/DEPS
|
View
|
1
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A |
components/data_usage/core/data_use.h
|
View
|
1
2
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/data_usage/core/data_use.cc
|
View
|
1
2
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/data_usage/core/data_use_aggregator.h
|
View
|
1
2
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/data_usage/core/data_use_aggregator.cc
|
View
|
1
2
3
|
1 chunk |
+57 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/data_usage/core/data_use_aggregator_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+234 lines, -0 lines |
0 comments
|
Download
|
Total messages: 33 (7 generated)
|