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

Side by Side Diff: chrome/browser/chromeos/proxy_cros_settings_parser.h

Issue 13334007: Added "Use an autoconfiguration URL" checkbox in proxy tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src@git-svn
Patch Set: Fixed conflict in Authors file Created 7 years, 8 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
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('k') | chrome/browser/chromeos/proxy_cros_settings_parser.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) 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_CHROMEOS_PROXY_CROS_SETTINGS_PARSER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_PROXY_CROS_SETTINGS_PARSER_H_
6 #define CHROME_BROWSER_CHROMEOS_PROXY_CROS_SETTINGS_PARSER_H_ 6 #define CHROME_BROWSER_CHROMEOS_PROXY_CROS_SETTINGS_PARSER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 class Profile; 10 class Profile;
(...skipping 11 matching lines...) Expand all
22 extern const char kProxyHttpPort[]; 22 extern const char kProxyHttpPort[];
23 extern const char kProxyHttpsUrl[]; 23 extern const char kProxyHttpsUrl[];
24 extern const char kProxyHttpsPort[]; 24 extern const char kProxyHttpsPort[];
25 extern const char kProxyType[]; 25 extern const char kProxyType[];
26 extern const char kProxySingle[]; 26 extern const char kProxySingle[];
27 extern const char kProxyFtpUrl[]; 27 extern const char kProxyFtpUrl[];
28 extern const char kProxyFtpPort[]; 28 extern const char kProxyFtpPort[];
29 extern const char kProxySocks[]; 29 extern const char kProxySocks[];
30 extern const char kProxySocksPort[]; 30 extern const char kProxySocksPort[];
31 extern const char kProxyIgnoreList[]; 31 extern const char kProxyIgnoreList[];
32 extern const char kProxyUsePacUrl[];
32 33
33 extern const char* const kProxySettings[]; 34 extern const char* const kProxySettings[];
34 extern const size_t kProxySettingsCount; 35 extern const size_t kProxySettingsCount;
35 36
36 // This namespace defines two helper functions for parsing Proxy configuration 37 // This namespace defines two helper functions for parsing Proxy configuration
37 // to and from the ProxyConfigServiceImpl and the UI that exposes them to the 38 // to and from the ProxyConfigServiceImpl and the UI that exposes them to the
38 // user. 39 // user.
39 namespace proxy_cros_settings_parser { 40 namespace proxy_cros_settings_parser {
40 // Returns true if the supplied |path| is a proxy preference name. 41 // Returns true if the supplied |path| is a proxy preference name.
41 bool IsProxyPref(const std::string& path); 42 bool IsProxyPref(const std::string& path);
42 43
43 // Sets a value in the current proxy configuration on the specified profile. 44 // Sets a value in the current proxy configuration on the specified profile.
44 void SetProxyPrefValue(Profile* profile, 45 void SetProxyPrefValue(Profile* profile,
45 const std::string& path, 46 const std::string& path,
46 const base::Value* in_value); 47 const base::Value* in_value);
47 48
48 // Gets a value from the current proxy configuration on the specified profile. 49 // Gets a value from the current proxy configuration on the specified profile.
49 bool GetProxyPrefValue(Profile* profile, 50 bool GetProxyPrefValue(Profile* profile,
50 const std::string& path, 51 const std::string& path,
51 base::Value** out_value); 52 base::Value** out_value);
52 } // namespace proxy_cros_settings_parser 53 } // namespace proxy_cros_settings_parser
53 54
54 } // namespace chromeos 55 } // namespace chromeos
55 56
56 #endif // CHROME_BROWSER_CHROMEOS_PROXY_CROS_SETTINGS_PARSER_H_ 57 #endif // CHROME_BROWSER_CHROMEOS_PROXY_CROS_SETTINGS_PARSER_H_
OLDNEW
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('k') | chrome/browser/chromeos/proxy_cros_settings_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698