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

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

Issue 6468002: Implementation of getCurrentProxySettings for proxy settings API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/out/Debug
Patch Set: Removed todo and ask mpcomplete now. Created 9 years, 10 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
« no previous file with comments | « chrome/browser/prefs/proxy_config_dictionary.cc ('k') | chrome/browser/prefs/proxy_prefs.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 29 matching lines...) Expand all
40 // visible APIs, e.g. through policy or the proxy extension API. 40 // visible APIs, e.g. through policy or the proxy extension API.
41 extern const char kDirectProxyModeName[]; 41 extern const char kDirectProxyModeName[];
42 extern const char kAutoDetectProxyModeName[]; 42 extern const char kAutoDetectProxyModeName[];
43 extern const char kPacScriptProxyModeName[]; 43 extern const char kPacScriptProxyModeName[];
44 extern const char kFixedServersProxyModeName[]; 44 extern const char kFixedServersProxyModeName[];
45 extern const char kSystemProxyModeName[]; 45 extern const char kSystemProxyModeName[];
46 46
47 bool IntToProxyMode(int in_value, ProxyMode* out_value); 47 bool IntToProxyMode(int in_value, ProxyMode* out_value);
48 bool StringToProxyMode(const std::string& in_value, 48 bool StringToProxyMode(const std::string& in_value,
49 ProxyMode* out_value); 49 ProxyMode* out_value);
50 const char* GetProxyModeName(ProxyMode mode); 50 // Ownership of the return value is NOT passed to the caller.
51 const char* ProxyModeToString(ProxyMode mode);
51 52
52 } // namespace ProxyPrefs 53 } // namespace ProxyPrefs
53 54
54 #endif // CHROME_BROWSER_PREFS_PROXY_PREFS_H_ 55 #endif // CHROME_BROWSER_PREFS_PROXY_PREFS_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/proxy_config_dictionary.cc ('k') | chrome/browser/prefs/proxy_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698