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

Side by Side Diff: chromeos/network/proxy/ui_proxy_config.h

Issue 2442313003: Move some proxy config code out of src/chrome (Closed)
Patch Set: Rebase Created 4 years, 1 month 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_UI_PROXY_CONFIG_H_ 5 #ifndef CHROMEOS_NETWORK_PROXY_UI_PROXY_CONFIG_H_
6 #define CHROME_BROWSER_CHROMEOS_UI_PROXY_CONFIG_H_ 6 #define CHROMEOS_NETWORK_PROXY_UI_PROXY_CONFIG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "components/proxy_config/proxy_prefs.h" 10 #include "components/proxy_config/proxy_prefs.h"
11 #include "net/proxy/proxy_bypass_rules.h" 11 #include "net/proxy/proxy_bypass_rules.h"
12 #include "net/proxy/proxy_server.h" 12 #include "net/proxy/proxy_server.h"
13 #include "url/gurl.h" 13 #include "url/gurl.h"
14 14
15 namespace base { 15 namespace base {
16 class DictionaryValue; 16 class DictionaryValue;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 ProxyPrefs::ConfigState state; 84 ProxyPrefs::ConfigState state;
85 85
86 // True if user can modify proxy settings via UI. 86 // True if user can modify proxy settings via UI.
87 // If proxy is managed by policy or extension or other_precde or is for 87 // If proxy is managed by policy or extension or other_precde or is for
88 // shared network but kUseSharedProxies is turned off, it can't be modified 88 // shared network but kUseSharedProxies is turned off, it can't be modified
89 // by user. 89 // by user.
90 bool user_modifiable; 90 bool user_modifiable;
91 91
92 // Set if mode is MODE_DIRECT or MODE_AUTO_DETECT or MODE_PAC_SCRIPT. 92 // Set if mode is MODE_DIRECT or MODE_AUTO_DETECT or MODE_PAC_SCRIPT.
93 AutomaticProxy automatic_proxy; 93 AutomaticProxy automatic_proxy;
94 // Set if mode is MODE_SINGLE_PROXY. 94 // Set if mode is MODE_SINGLE_PROXY.
95 ManualProxy single_proxy; 95 ManualProxy single_proxy;
96 // Set if mode is MODE_PROXY_PER_SCHEME and has http proxy. 96 // Set if mode is MODE_PROXY_PER_SCHEME and has http proxy.
97 ManualProxy http_proxy; 97 ManualProxy http_proxy;
98 // Set if mode is MODE_PROXY_PER_SCHEME and has https proxy. 98 // Set if mode is MODE_PROXY_PER_SCHEME and has https proxy.
99 ManualProxy https_proxy; 99 ManualProxy https_proxy;
100 // Set if mode is MODE_PROXY_PER_SCHEME and has ftp proxy. 100 // Set if mode is MODE_PROXY_PER_SCHEME and has ftp proxy.
101 ManualProxy ftp_proxy; 101 ManualProxy ftp_proxy;
102 // Set if mode is MODE_PROXY_PER_SCHEME and has socks proxy. 102 // Set if mode is MODE_PROXY_PER_SCHEME and has socks proxy.
103 ManualProxy socks_proxy; 103 ManualProxy socks_proxy;
104 104
105 // Exceptions for when not to use a proxy. 105 // Exceptions for when not to use a proxy.
106 net::ProxyBypassRules bypass_rules; 106 net::ProxyBypassRules bypass_rules;
107 }; 107 };
108 108
109 } // namespace chromeos 109 } // namespace chromeos
110 110
111 #endif // CHROME_BROWSER_CHROMEOS_UI_PROXY_CONFIG_H_ 111 #endif // CHROMEOS_NETWORK_PROXY_UI_PROXY_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698