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

Unified Diff: chrome/browser/webdata/web_data_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 | « chrome/browser/webdata/web_data_service.h ('k') | chrome/common/net/gaia/gaia_authenticator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/webdata/web_data_service.cc
diff --git a/chrome/browser/webdata/web_data_service.cc b/chrome/browser/webdata/web_data_service.cc
index b359ef5e8dc1548d1e9c7bdfeaf111b5ef847166..b52f22532c7f0b9dab62d019ce5dbccf8ce1b1d3 100644
--- a/chrome/browser/webdata/web_data_service.cc
+++ b/chrome/browser/webdata/web_data_service.cc
@@ -73,7 +73,7 @@ void WebDataService::UnloadDatabase() {
}
void WebDataService::CancelRequest(Handle h) {
- AutoLock l(pending_lock_);
+ base::AutoLock l(pending_lock_);
RequestMap::iterator i = pending_requests_.find(h);
if (i == pending_requests_.end()) {
NOTREACHED() << "Canceling a nonexistent web data service request";
@@ -547,7 +547,7 @@ void WebDataService::RequestCompleted(Handle h) {
}
void WebDataService::RegisterRequest(WebDataRequest* request) {
- AutoLock l(pending_lock_);
+ base::AutoLock l(pending_lock_);
pending_requests_[request->GetHandle()] = request;
}
@@ -637,7 +637,7 @@ void WebDataService::ScheduleCommit() {
}
int WebDataService::GetNextRequestHandle() {
- AutoLock l(pending_lock_);
+ base::AutoLock l(pending_lock_);
return ++next_request_handle_;
}
« no previous file with comments | « chrome/browser/webdata/web_data_service.h ('k') | chrome/common/net/gaia/gaia_authenticator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698