|
AU: Make proxy resolution asynchronous.
This doesn't change proxy resolution overall (we still use settings
stored in the session manager), but it changes the implementation in
the updater to be asynchronous. The clients of the proxy resolver now
give a callback to be called when the proxies are known.
This is anticipation of a switch to using Chrome to resolve proxies,
which will need to be asynchronous.
BUG= chromium-os:12079
TEST=unittests; tested update on device w/ and w/o proxy settings
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=f3ed8e7
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+184 lines, -45 lines) |
Patch |
|
M |
chrome_proxy_resolver.h
|
View
|
|
2 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome_proxy_resolver.cc
|
View
|
|
2 chunks |
+27 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome_proxy_resolver_unittest.cc
|
View
|
|
2 chunks |
+16 lines, -5 lines |
0 comments
|
Download
|
|
M |
http_fetcher.h
|
View
|
1
|
4 chunks |
+22 lines, -4 lines |
0 comments
|
Download
|
|
M |
http_fetcher.cc
|
View
|
|
2 chunks |
+22 lines, -5 lines |
0 comments
|
Download
|
|
M |
http_fetcher_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -6 lines |
0 comments
|
Download
|
|
M |
libcurl_http_fetcher.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
libcurl_http_fetcher.cc
|
View
|
|
2 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
|
M |
proxy_resolver.h
|
View
|
1
|
2 chunks |
+28 lines, -10 lines |
0 comments
|
Download
|
|
M |
proxy_resolver.cc
|
View
|
|
1 chunk |
+25 lines, -4 lines |
0 comments
|
Download
|
|
M |
utils.h
|
View
|
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
utils.cc
|
View
|
2
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|