| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/chromeos/ui_proxy_config.h" | 5 #include "chrome/browser/chromeos/ui_proxy_config.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/values.h" | 8 #include "base/values.h" |
| 9 #include "chrome/browser/policy/proto/chromeos/chrome_device_policy.pb.h" | 9 #include "chrome/browser/chromeos/policy/proto/chrome_device_policy.pb.h" |
| 10 #include "chrome/browser/prefs/proxy_config_dictionary.h" | 10 #include "chrome/browser/prefs/proxy_config_dictionary.h" |
| 11 #include "net/proxy/proxy_config.h" | 11 #include "net/proxy/proxy_config.h" |
| 12 | 12 |
| 13 namespace chromeos { | 13 namespace chromeos { |
| 14 | 14 |
| 15 UIProxyConfig::UIProxyConfig() | 15 UIProxyConfig::UIProxyConfig() |
| 16 : mode(MODE_DIRECT), | 16 : mode(MODE_DIRECT), |
| 17 state(ProxyPrefs::CONFIG_UNSET), | 17 state(ProxyPrefs::CONFIG_UNSET), |
| 18 user_modifiable(true) { | 18 user_modifiable(true) { |
| 19 } | 19 } |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 *spec += ';'; | 160 *spec += ';'; |
| 161 | 161 |
| 162 if (!url_scheme.empty()) { | 162 if (!url_scheme.empty()) { |
| 163 *spec += url_scheme; | 163 *spec += url_scheme; |
| 164 *spec += "="; | 164 *spec += "="; |
| 165 } | 165 } |
| 166 *spec += server.ToURI(); | 166 *spec += server.ToURI(); |
| 167 } | 167 } |
| 168 | 168 |
| 169 } // namespace chromeos | 169 } // namespace chromeos |
| OLD | NEW |