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

Unified Diff: net/proxy/proxy_config_service_ios.cc

Issue 10911099: Minor fixes in proxy configuration on iOS. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: indentation Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: net/proxy/proxy_config_service_ios.cc
diff --git a/net/proxy/proxy_config_service_ios.cc b/net/proxy/proxy_config_service_ios.cc
index 050505e1268c154cde75928c086d714d2e8a12b1..fdeb1bb4f30aec95f20a53557dd3a1f39bbe6c5a 100644
--- a/net/proxy/proxy_config_service_ios.cc
+++ b/net/proxy/proxy_config_service_ios.cc
@@ -97,17 +97,12 @@ void GetCurrentProxyConfig(ProxyConfig* config) {
} // namespace
-ProxyConfigServiceIOS::ProxyConfigServiceIOS(
- base::SingleThreadTaskRunner* io_thread_task_runner)
- : PollingProxyConfigService(
- base::TimeDelta::FromSeconds(kPollIntervalSec),
- GetCurrentProxyConfig),
- io_thread_task_runner_(io_thread_task_runner) {
- DCHECK(io_thread_task_runner_);
+ProxyConfigServiceIOS::ProxyConfigServiceIOS()
+ : PollingProxyConfigService(base::TimeDelta::FromSeconds(kPollIntervalSec),
+ GetCurrentProxyConfig) {
}
ProxyConfigServiceIOS::~ProxyConfigServiceIOS() {
- DCHECK(io_thread_task_runner_->BelongsToCurrentThread());
}
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698