|
|
Reference count ProxyService.
This is necessary since ProxyService is getting shared between chrome's url request contexts (off the record, media), and the current way it is being shared could result in free memory read/writes during shutdown.
This is a step towards fixing http://crbug.com/15289.
BUG=http://crbug.com/15289
TEST=The existing tests should continue to pass following this refactor.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=23612
Total comments: 15
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+217 lines, -205 lines) |
Patch |
 |
M |
chrome/browser/net/chrome_url_request_context.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+10 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/resolve_proxy_msg_helper.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/resolve_proxy_msg_helper_unittest.cc
|
View
|
9
10
|
3 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/http/http_network_layer.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/http/http_network_layer.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/http/http_network_layer_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/http/http_network_session.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/http/http_network_transaction_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
7 chunks |
+12 lines, -17 lines |
0 comments
|
Download
|
 |
M |
net/proxy/proxy_script_fetcher_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/proxy/proxy_service.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/proxy/proxy_service.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/proxy/proxy_service_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
52 chunks |
+160 lines, -143 lines |
0 comments
|
Download
|
 |
M |
net/tools/fetch/fetch_client.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_context.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_unittest.h
|
View
|
4
5
6
7
8
9
10
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_unittest.cc
|
View
|
4
5
6
7
8
9
10
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
webkit/tools/test_shell/test_shell_request_context.cc
|
View
|
5
6
7
8
9
10
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|