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

Unified Diff: net/proxy/polling_proxy_config_service.cc

Issue 6142009: Upating the app, ceee, chrome, ipc, media, and net directories to use the correct lock.h file. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Unified patch updating all references to the new base/synchronization/lock.h Created 9 years, 11 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
« no previous file with comments | « net/ocsp/nss_ocsp.cc ('k') | net/proxy/sync_host_resolver_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 98a164db8e523cacb959ed2d18a97762d86dd1a9..55b7d3621910351da33b10fce2e1a72324c19a67 100644
--- a/net/proxy/polling_proxy_config_service.cc
+++ b/net/proxy/polling_proxy_config_service.cc
@@ -4,10 +4,10 @@
#include "net/proxy/polling_proxy_config_service.h"
-#include "base/lock.h"
#include "base/message_loop_proxy.h"
#include "base/observer_list.h"
#include "base/scoped_ptr.h"
+#include "base/synchronization/lock.h"
#include "base/threading/worker_pool.h"
#include "net/proxy/proxy_config.h"
@@ -32,7 +32,7 @@ class PollingProxyConfigService::Core
// Called when the parent PollingProxyConfigService is destroyed
// (observers should not be called past this point).
void Orphan() {
- AutoLock l(lock_);
+ base::AutoLock l(lock_);
origin_loop_proxy_ = NULL;
}
@@ -99,7 +99,7 @@ class PollingProxyConfigService::Core
ProxyConfig config;
func(&config);
- AutoLock l(lock_);
+ base::AutoLock l(lock_);
if (origin_loop_proxy_) {
origin_loop_proxy_->PostTask(
FROM_HERE,
@@ -145,7 +145,7 @@ class PollingProxyConfigService::Core
base::TimeTicks last_poll_time_;
base::TimeDelta poll_interval_;
- Lock lock_;
+ base::Lock lock_;
scoped_refptr<base::MessageLoopProxy> origin_loop_proxy_;
bool have_initialized_origin_loop_;
« no previous file with comments | « net/ocsp/nss_ocsp.cc ('k') | net/proxy/sync_host_resolver_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698