Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4386)

Unified Diff: chrome/browser/chromeos/net/onc_utils.cc

Issue 14846004: Migrate ProxyConfigServiceImpl to NetworkStateHandler and NetworkProfileHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/net/onc_utils.cc
diff --git a/chrome/browser/chromeos/net/onc_utils.cc b/chrome/browser/chromeos/net/onc_utils.cc
index 71ba2b9eb3e9838ff7acf22f68325fcc4d603c78..0ce54dbd6bf321faa5b3178dd57afa0b4af9a58b 100644
--- a/chrome/browser/chromeos/net/onc_utils.cc
+++ b/chrome/browser/chromeos/net/onc_utils.cc
@@ -4,11 +4,14 @@
#include "chrome/browser/chromeos/net/onc_utils.h"
+#include "base/logging.h"
#include "base/values.h"
-#include "chrome/browser/chromeos/proxy_config_service_impl.h"
+#include "chrome/browser/chromeos/ui_proxy_config.h"
#include "chrome/browser/prefs/proxy_config_dictionary.h"
#include "chromeos/network/onc/onc_utils.h"
#include "googleurl/src/gurl.h"
+#include "net/base/host_port_pair.h"
+#include "net/proxy/proxy_bypass_rules.h"
#include "net/proxy/proxy_server.h"
namespace chromeos {
@@ -62,8 +65,7 @@ void AppendProxyServerForScheme(
net::ProxyServer proxy_server = ConvertOncProxyLocationToHostPort(
default_proxy_scheme, *onc_proxy_location);
- ProxyConfigServiceImpl::ProxyConfig::EncodeAndAppendProxyServer(
- url_scheme, proxy_server, spec);
+ UIProxyConfig::EncodeAndAppendProxyServer(url_scheme, proxy_server, spec);
}
net::ProxyBypassRules ConvertOncExcludeDomainsToBypassRules(
« no previous file with comments | « chrome/browser/chromeos/login/proxy_settings_dialog.cc ('k') | chrome/browser/chromeos/proxy_config_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698