| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "components/proxy_config/proxy_prefs.h" | 5 #include "components/proxy_config/proxy_prefs.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | |
| 8 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/macros.h" |
| 9 | 9 |
| 10 namespace ProxyPrefs { | 10 namespace ProxyPrefs { |
| 11 | 11 |
| 12 namespace { | 12 namespace { |
| 13 | 13 |
| 14 // These names are exposed to the proxy extension API. They must be in sync | 14 // These names are exposed to the proxy extension API. They must be in sync |
| 15 // with the constants of ProxyPrefs. | 15 // with the constants of ProxyPrefs. |
| 16 const char* kProxyModeNames[] = { kDirectProxyModeName, | 16 const char* kProxyModeNames[] = { kDirectProxyModeName, |
| 17 kAutoDetectProxyModeName, | 17 kAutoDetectProxyModeName, |
| 18 kPacScriptProxyModeName, | 18 kPacScriptProxyModeName, |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 case CONFIG_FALLBACK: | 64 case CONFIG_FALLBACK: |
| 65 return "config_fallback"; | 65 return "config_fallback"; |
| 66 case CONFIG_UNSET: | 66 case CONFIG_UNSET: |
| 67 return "config_unset"; | 67 return "config_unset"; |
| 68 } | 68 } |
| 69 NOTREACHED(); | 69 NOTREACHED(); |
| 70 return ""; | 70 return ""; |
| 71 } | 71 } |
| 72 | 72 |
| 73 } // namespace ProxyPrefs | 73 } // namespace ProxyPrefs |
| OLD | NEW |