summaryrefslogtreecommitdiffstats
path: root/remoting/host/chromoting_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/chromoting_host.cc')
-rw-r--r--remoting/host/chromoting_host.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
index a06098c..45be613 100644
--- a/remoting/host/chromoting_host.cc
+++ b/remoting/host/chromoting_host.cc
@@ -70,7 +70,7 @@ void ChromotingHost::Start(Task* shutdown_task) {
// Make sure this object is not started.
{
- AutoLock auto_lock(lock_);
+ base::AutoLock auto_lock(lock_);
if (state_ != kInitial)
return;
state_ = kStarted;
@@ -113,7 +113,7 @@ void ChromotingHost::Shutdown() {
// No-op if this object is not started yet.
{
- AutoLock auto_lock(lock_);
+ base::AutoLock auto_lock(lock_);
if (state_ != kStarted) {
state_ = kStopped;
return;
@@ -264,7 +264,7 @@ void ChromotingHost::OnStateChange(JingleClient* jingle_client,
void ChromotingHost::OnNewClientSession(
protocol::Session* session,
protocol::SessionManager::IncomingSessionResponse* response) {
- AutoLock auto_lock(lock_);
+ base::AutoLock auto_lock(lock_);
// TODO(hclam): Allow multiple clients to connect to the host.
if (connection_.get() || state_ != kStarted) {
*response = protocol::SessionManager::DECLINE;