OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_PREFS_PROXY_PREFS_H_ | 5 #ifndef CHROME_BROWSER_PREFS_PROXY_PREFS_H_ |
6 #define CHROME_BROWSER_PREFS_PROXY_PREFS_H_ | 6 #define CHROME_BROWSER_PREFS_PROXY_PREFS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 namespace ProxyPrefs { | 10 namespace ProxyPrefs { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 extern const char kDirectProxyModeName[]; | 56 extern const char kDirectProxyModeName[]; |
57 extern const char kAutoDetectProxyModeName[]; | 57 extern const char kAutoDetectProxyModeName[]; |
58 extern const char kPacScriptProxyModeName[]; | 58 extern const char kPacScriptProxyModeName[]; |
59 extern const char kFixedServersProxyModeName[]; | 59 extern const char kFixedServersProxyModeName[]; |
60 extern const char kSystemProxyModeName[]; | 60 extern const char kSystemProxyModeName[]; |
61 | 61 |
62 bool IntToProxyMode(int in_value, ProxyMode* out_value); | 62 bool IntToProxyMode(int in_value, ProxyMode* out_value); |
63 bool StringToProxyMode(const std::string& in_value, ProxyMode* out_value); | 63 bool StringToProxyMode(const std::string& in_value, ProxyMode* out_value); |
64 // Ownership of the return value is NOT passed to the caller. | 64 // Ownership of the return value is NOT passed to the caller. |
65 const char* ProxyModeToString(ProxyMode mode); | 65 const char* ProxyModeToString(ProxyMode mode); |
| 66 std::string ConfigStateToDebugString(ConfigState state); |
66 | 67 |
67 } // namespace ProxyPrefs | 68 } // namespace ProxyPrefs |
68 | 69 |
69 #endif // CHROME_BROWSER_PREFS_PROXY_PREFS_H_ | 70 #endif // CHROME_BROWSER_PREFS_PROXY_PREFS_H_ |
OLD | NEW |