OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "net/proxy/polling_proxy_config_service.h" | 5 #include "net/proxy/polling_proxy_config_service.h" |
6 | 6 |
| 7 #include "base/location.h" |
7 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
8 #include "base/message_loop_proxy.h" | 9 #include "base/message_loop_proxy.h" |
9 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
10 #include "base/synchronization/lock.h" | 11 #include "base/synchronization/lock.h" |
11 #include "base/threading/worker_pool.h" | 12 #include "base/threading/worker_pool.h" |
12 #include "net/proxy/proxy_config.h" | 13 #include "net/proxy/proxy_config.h" |
13 | 14 |
14 namespace net { | 15 namespace net { |
15 | 16 |
16 // Reference-counted wrapper that does all the work (needs to be | 17 // Reference-counted wrapper that does all the work (needs to be |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 | 182 |
182 PollingProxyConfigService::~PollingProxyConfigService() { | 183 PollingProxyConfigService::~PollingProxyConfigService() { |
183 core_->Orphan(); | 184 core_->Orphan(); |
184 } | 185 } |
185 | 186 |
186 void PollingProxyConfigService::CheckForChangesNow() { | 187 void PollingProxyConfigService::CheckForChangesNow() { |
187 core_->CheckForChangesNow(); | 188 core_->CheckForChangesNow(); |
188 } | 189 } |
189 | 190 |
190 } // namespace net | 191 } // namespace net |
OLD | NEW |