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

Unified Diff: chrome/browser/sync/glue/autofill_profile_model_associator.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
Index: chrome/browser/sync/glue/autofill_profile_model_associator.cc
diff --git a/chrome/browser/sync/glue/autofill_profile_model_associator.cc b/chrome/browser/sync/glue/autofill_profile_model_associator.cc
index c517e2c81ed377cf580103098f2b95be01b51bc5..d6a679230692a04eeabf54908503fb773bf7e181 100644
--- a/chrome/browser/sync/glue/autofill_profile_model_associator.cc
+++ b/chrome/browser/sync/glue/autofill_profile_model_associator.cc
@@ -129,7 +129,7 @@ bool AutofillProfileModelAssociator::AssociateModels() {
VLOG(1) << "Associating Autofill Models";
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
{
- AutoLock lock(abort_association_pending_lock_);
+ base::AutoLock lock(abort_association_pending_lock_);
abort_association_pending_ = false;
}
@@ -458,7 +458,7 @@ int64 AutofillProfileModelAssociator::GetSyncIdFromChromeId(
void AutofillProfileModelAssociator::AbortAssociation() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- AutoLock lock(abort_association_pending_lock_);
+ base::AutoLock lock(abort_association_pending_lock_);
abort_association_pending_ = true;
}
@@ -469,7 +469,7 @@ const std::string* AutofillProfileModelAssociator::GetChromeNodeFromSyncId(
}
bool AutofillProfileModelAssociator::IsAbortPending() {
- AutoLock lock(abort_association_pending_lock_);
+ base::AutoLock lock(abort_association_pending_lock_);
return abort_association_pending_;
}
« no previous file with comments | « chrome/browser/sync/glue/autofill_profile_model_associator.h ('k') | chrome/browser/sync/glue/password_model_associator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698