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

Side by Side Diff: chrome/browser/prefs/proxy_prefs.h

Issue 14846004: Migrate ProxyConfigServiceImpl to NetworkStateHandler and NetworkProfileHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamed ConfigStateToString. Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698