|
Update DataReductionProxyNetworkDelegate/BypassStats to post tasks safely.
- DRP NetworkDelegate/BypassStats are no longer aware of the UI thread.
- Add thread hopping functionality to DRP IOData/Service, using the
correct WeakPtr to post tasks safely.
- Construct BypassStats in the IOData constructor.
BUG= 472290
Committed: https://crrev.com/d0856baaed6f3817a96c657e4eab4b201655bb3a
Cr-Commit-Position: refs/heads/master@{#324375}
Total comments: 10
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1280 lines, -1427 lines) |
Patch |
 |
M |
chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/BUILD.gn
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_protocol_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats.h
|
View
|
1
2
|
4 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats.cc
|
View
|
1
2
|
4 chunks |
+5 lines, -23 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_bypass_stats_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h
|
View
|
1
2
3
4
|
4 chunks |
+53 lines, -20 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc
|
View
|
1
2
3
4
|
7 chunks |
+499 lines, -5 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats_unittest.cc
|
View
|
1
2
|
12 chunks |
+606 lines, -52 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h
|
View
|
1
2
|
4 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc
|
View
|
1
2
3
|
2 chunks |
+26 lines, -11 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.h
|
View
|
1
2
|
3 chunks |
+18 lines, -12 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -415 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_metrics_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -648 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h
|
View
|
|
5 chunks |
+1 line, -17 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc
|
View
|
1
2
|
4 chunks |
+3 lines, -46 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc
|
View
|
1
2
3
|
3 chunks |
+0 lines, -52 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_service.h
|
View
|
1
2
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_service.cc
|
View
|
1
2
|
2 chunks |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h
|
View
|
1
2
|
5 chunks |
+1 line, -20 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc
|
View
|
1
2
3
4
|
7 chunks |
+8 lines, -83 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 13 (4 generated)
|