diff options
Diffstat (limited to 'net/proxy/proxy_service.cc')
-rw-r--r-- | net/proxy/proxy_service.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/net/proxy/proxy_service.cc b/net/proxy/proxy_service.cc index b90d781..c5bb70c 100644 --- a/net/proxy/proxy_service.cc +++ b/net/proxy/proxy_service.cc @@ -536,6 +536,14 @@ void ProxyService::PurgeMemory() { resolver_->PurgeMemory(); } +void ProxyService::ForceReloadProxyConfig() { + // Mark the current configuration as being un-initialized, then force it to + // start updating (normally this would happen lazily during the next + // call to ResolveProxy()). + config_.set_id(ProxyConfig::INVALID_ID); + UpdateConfig(NULL); +} + // static ProxyConfigService* ProxyService::CreateSystemProxyConfigService( MessageLoop* io_loop, MessageLoop* file_loop) { |