|
Extract common per-network proxy configuration functions.
- Extracted functions to get and set per-network proxy configuration from ProxyConfigServiceImpl, UIProxyConfigService and NetworkStateInformer, and moved them to a common place (chrome/browser/chromeos/net/proxy_config_handler.h).
- The previous SetProxyConfig call to NetworkLibrary was extracted and instead ShillServiceClient is called directly.
- Now uses NetworkStateHandler and NetworkState instead of NetworkLibrary to get the current proxy config.
- This removed any dependency of proxy UI on NetworkLibrary.
BUG= 234982
R=mnissler@chromium.org, nkostylev@chromium.org, stevenjb@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=205214
Total comments: 6
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+191 lines, -99 lines) |
Patch |
 |
A |
chrome/browser/chromeos/net/proxy_config_handler.h
|
View
|
1
2
3
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/chromeos/net/proxy_config_handler.cc
|
View
|
1
2
|
1 chunk |
+79 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/proxy_config_service_impl.cc
|
View
|
1
2
|
3 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/ui_proxy_config.h
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/ui_proxy_config.cc
|
View
|
|
3 chunks |
+1 line, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/ui_proxy_config_service.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/ui_proxy_config_service.cc
|
View
|
1
2
|
6 chunks |
+34 lines, -36 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/prefs/proxy_config_dictionary.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/prefs/proxy_config_dictionary.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/chromeos/login/network_state_informer.cc
|
View
|
1
2
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/preferences_browsertest.cc
|
View
|
1
2
|
3 chunks |
+17 lines, -20 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_chromeos.gypi
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/network/network_handler_callbacks.h
|
View
|
1
2
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
Total messages: 14 (0 generated)
|