Index: chrome/test/sync/engine/mock_connection_manager.cc |
diff --git a/chrome/test/sync/engine/mock_connection_manager.cc b/chrome/test/sync/engine/mock_connection_manager.cc |
index ade90a6fef40f02f57d2648b5ebd41f596e5c935..f56cdeb9c742b7d57812470ef6e1b5ac452b6d61 100644 |
--- a/chrome/test/sync/engine/mock_connection_manager.cc |
+++ b/chrome/test/sync/engine/mock_connection_manager.cc |
@@ -138,7 +138,7 @@ bool MockConnectionManager::PostBufferToPath(const PostBufferParams* params, |
} |
{ |
- AutoLock lock(response_code_override_lock_); |
+ base::AutoLock lock(response_code_override_lock_); |
if (throttling_) { |
response.set_error_code(ClientToServerResponse::THROTTLED); |
throttling_ = false; |
@@ -501,7 +501,7 @@ const CommitResponse& MockConnectionManager::last_commit_response() const { |
void MockConnectionManager::ThrottleNextRequest( |
ResponseCodeOverrideRequestor* visitor) { |
- AutoLock lock(response_code_override_lock_); |
+ base::AutoLock lock(response_code_override_lock_); |
throttling_ = true; |
if (visitor) |
visitor->OnOverrideComplete(); |
@@ -509,7 +509,7 @@ void MockConnectionManager::ThrottleNextRequest( |
void MockConnectionManager::FailWithAuthInvalid( |
ResponseCodeOverrideRequestor* visitor) { |
- AutoLock lock(response_code_override_lock_); |
+ base::AutoLock lock(response_code_override_lock_); |
fail_with_auth_invalid_ = true; |
if (visitor) |
visitor->OnOverrideComplete(); |
@@ -517,7 +517,7 @@ void MockConnectionManager::FailWithAuthInvalid( |
void MockConnectionManager::StopFailingWithAuthInvalid( |
ResponseCodeOverrideRequestor* visitor) { |
- AutoLock lock(response_code_override_lock_); |
+ base::AutoLock lock(response_code_override_lock_); |
fail_with_auth_invalid_ = false; |
if (visitor) |
visitor->OnOverrideComplete(); |