| Index: net/proxy/proxy_config.h
|
| diff --git a/net/proxy/proxy_config.h b/net/proxy/proxy_config.h
|
| index e558174a4658bc558afaa331035b766548274e92..94c8dc1aeb32abfeaee60c8dbf73d2b8904f2b60 100644
|
| --- a/net/proxy/proxy_config.h
|
| +++ b/net/proxy/proxy_config.h
|
| @@ -51,9 +51,7 @@ class NET_EXPORT ProxyConfig {
|
| ProxyRules();
|
| ~ProxyRules();
|
|
|
| - bool empty() const {
|
| - return type == TYPE_NO_RULES;
|
| - }
|
| + bool empty() const { return type == TYPE_NO_RULES; }
|
|
|
| // Sets |result| with the proxies to use for |url| based on the current
|
| // rules.
|
| @@ -172,55 +170,35 @@ class NET_EXPORT ProxyConfig {
|
| // deleting the returned value.
|
| base::DictionaryValue* ToValue() const;
|
|
|
| - ProxyRules& proxy_rules() {
|
| - return proxy_rules_;
|
| - }
|
| + ProxyRules& proxy_rules() { return proxy_rules_; }
|
|
|
| - const ProxyRules& proxy_rules() const {
|
| - return proxy_rules_;
|
| - }
|
| + const ProxyRules& proxy_rules() const { return proxy_rules_; }
|
|
|
| - void set_pac_url(const GURL& url) {
|
| - pac_url_ = url;
|
| - }
|
| + void set_pac_url(const GURL& url) { pac_url_ = url; }
|
|
|
| - const GURL& pac_url() const {
|
| - return pac_url_;
|
| - }
|
| + const GURL& pac_url() const { return pac_url_; }
|
|
|
| void set_pac_mandatory(bool enable_pac_mandatory) {
|
| pac_mandatory_ = enable_pac_mandatory;
|
| }
|
|
|
| - bool pac_mandatory() const {
|
| - return pac_mandatory_;
|
| - }
|
| + bool pac_mandatory() const { return pac_mandatory_; }
|
|
|
| - bool has_pac_url() const {
|
| - return pac_url_.is_valid();
|
| - }
|
| + bool has_pac_url() const { return pac_url_.is_valid(); }
|
|
|
| void set_auto_detect(bool enable_auto_detect) {
|
| auto_detect_ = enable_auto_detect;
|
| }
|
|
|
| - bool auto_detect() const {
|
| - return auto_detect_;
|
| - }
|
| + bool auto_detect() const { return auto_detect_; }
|
|
|
| - void set_source(ProxyConfigSource source) {
|
| - source_ = source;
|
| - }
|
| + void set_source(ProxyConfigSource source) { source_ = source; }
|
|
|
| - ProxyConfigSource source() const {
|
| - return source_;
|
| - }
|
| + ProxyConfigSource source() const { return source_; }
|
|
|
| // Helpers to construct some common proxy configurations.
|
|
|
| - static ProxyConfig CreateDirect() {
|
| - return ProxyConfig();
|
| - }
|
| + static ProxyConfig CreateDirect() { return ProxyConfig(); }
|
|
|
| static ProxyConfig CreateAutoDetect() {
|
| ProxyConfig config;
|
| @@ -258,6 +236,4 @@ class NET_EXPORT ProxyConfig {
|
|
|
| } // namespace net
|
|
|
| -
|
| -
|
| #endif // NET_PROXY_PROXY_CONFIG_H_
|
|
|