diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-21 05:30:19 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-21 05:30:19 +0000 |
commit | 68c3403ef50205253a80cad76b3e6f39f0c92bdc (patch) | |
tree | 0f0b685d9f920cdade9a0fb69fd7f7d1ededf5cb /ceee | |
parent | f355c56028d0404855185541c7ba8568c22ed4a3 (diff) | |
download | chromium_src-68c3403ef50205253a80cad76b3e6f39f0c92bdc.zip chromium_src-68c3403ef50205253a80cad76b3e6f39f0c92bdc.tar.gz chromium_src-68c3403ef50205253a80cad76b3e6f39f0c92bdc.tar.bz2 |
Add missing base::lock usage.
TEST=it compiles BUG=none
Review URL: http://codereview.chromium.org/6336010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72108 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ceee')
-rw-r--r-- | ceee/ie/broker/broker_rpc_server.cc | 2 | ||||
-rw-r--r-- | ceee/ie/plugin/bho/window_message_source.cc | 2 | ||||
-rw-r--r-- | ceee/testing/utils/instance_count_mixin.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ceee/ie/broker/broker_rpc_server.cc b/ceee/ie/broker/broker_rpc_server.cc index eb16d6a..63f8e7b 100644 --- a/ceee/ie/broker/broker_rpc_server.cc +++ b/ceee/ie/broker/broker_rpc_server.cc @@ -20,7 +20,7 @@ namespace { // This lock ensures that histograms created by the broker are thread safe. // The histograms created here can be initialized on multiple threads. -Lock g_metrics_lock; +base::Lock g_metrics_lock; RPC_STATUS PrepareEndpoint(std::wstring endpoint) { std::wstring protocol = kRpcProtocol; diff --git a/ceee/ie/plugin/bho/window_message_source.cc b/ceee/ie/plugin/bho/window_message_source.cc index c48ab2f..bfcf210 100644 --- a/ceee/ie/plugin/bho/window_message_source.cc +++ b/ceee/ie/plugin/bho/window_message_source.cc @@ -13,7 +13,7 @@ #include "ceee/ie/common/ceee_module_util.h" WindowMessageSource::MessageSourceMap WindowMessageSource::message_source_map_; -Lock WindowMessageSource::lock_; +base::Lock WindowMessageSource::lock_; WindowMessageSource::WindowMessageSource() : create_thread_id_(::GetCurrentThreadId()), diff --git a/ceee/testing/utils/instance_count_mixin.cc b/ceee/testing/utils/instance_count_mixin.cc index 14a0ebb..d10c881 100644 --- a/ceee/testing/utils/instance_count_mixin.cc +++ b/ceee/testing/utils/instance_count_mixin.cc @@ -14,7 +14,7 @@ testing::InstanceCountMixinBase::InstanceSet instances; namespace testing { -Lock InstanceCountMixinBase::lock_; +base::Lock InstanceCountMixinBase::lock_; InstanceCountMixinBase::InstanceCountMixinBase() { base::AutoLock lock(lock_); |