Index: net/proxy/polling_proxy_config_service.cc |
diff --git a/net/proxy/polling_proxy_config_service.cc b/net/proxy/polling_proxy_config_service.cc |
index 611ea5975c094621ca926a6fd779c0242dc2cced..9c50e535fb061be5e7e0aec35c45c62d4454db6a 100644 |
--- a/net/proxy/polling_proxy_config_service.cc |
+++ b/net/proxy/polling_proxy_config_service.cc |
@@ -21,15 +21,13 @@ namespace net { |
class PollingProxyConfigService::Core |
: public base::RefCountedThreadSafe<PollingProxyConfigService::Core> { |
public: |
- Core(base::TimeDelta poll_interval, |
- GetConfigFunction get_config_func) |
+ Core(base::TimeDelta poll_interval, GetConfigFunction get_config_func) |
: get_config_func_(get_config_func), |
poll_interval_(poll_interval), |
have_initialized_origin_loop_(false), |
has_config_(false), |
poll_task_outstanding_(false), |
- poll_task_queued_(false) { |
- } |
+ poll_task_queued_(false) {} |
// Called when the parent PollingProxyConfigService is destroyed |
// (observers should not be called past this point). |
@@ -125,9 +123,10 @@ class PollingProxyConfigService::Core |
// If the configuration has changed, notify the observers. |
has_config_ = true; |
last_config_ = config; |
- FOR_EACH_OBSERVER(Observer, observers_, |
- OnProxyConfigChanged(config, |
- ProxyConfigService::CONFIG_VALID)); |
+ FOR_EACH_OBSERVER( |
+ Observer, |
+ observers_, |
+ OnProxyConfigChanged(config, ProxyConfigService::CONFIG_VALID)); |
} |
if (poll_task_queued_) |
@@ -169,7 +168,7 @@ void PollingProxyConfigService::RemoveObserver(Observer* observer) { |
} |
ProxyConfigService::ConfigAvailability |
- PollingProxyConfigService::GetLatestProxyConfig(ProxyConfig* config) { |
+PollingProxyConfigService::GetLatestProxyConfig(ProxyConfig* config) { |
return core_->GetLatestProxyConfig(config) ? CONFIG_VALID : CONFIG_PENDING; |
} |