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

Unified Diff: chrome/browser/sync/syncable/syncable.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/sync/syncable/syncable.h ('k') | chrome/browser/sync/util/channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/syncable/syncable.cc
diff --git a/chrome/browser/sync/syncable/syncable.cc b/chrome/browser/sync/syncable/syncable.cc
index 2794efababc33431c0c961bed2f3be7292ddf930..99bed4ee35657eab685fb6425937de7b38911a59 100644
--- a/chrome/browser/sync/syncable/syncable.cc
+++ b/chrome/browser/sync/syncable/syncable.cc
@@ -578,7 +578,7 @@ bool Directory::SaveChanges() {
bool success = false;
DCHECK(store_);
- AutoLock scoped_lock(kernel_->save_changes_mutex);
+ base::AutoLock scoped_lock(kernel_->save_changes_mutex);
// Snapshot and save.
SaveChangesSnapshot snapshot;
@@ -1129,7 +1129,7 @@ bool BaseTransaction::NotifyTransactionChangingAndEnding(
{
// Scoped_lock is only active through the calculate_changes and
// transaction_ending events.
- AutoLock scoped_lock(dirkernel_->changes_channel_mutex);
+ base::AutoLock scoped_lock(dirkernel_->changes_channel_mutex);
// Tell listeners to calculate changes while we still have the mutex.
DirectoryChangeEvent event = { DirectoryChangeEvent::CALCULATE_CHANGES,
« no previous file with comments | « chrome/browser/sync/syncable/syncable.h ('k') | chrome/browser/sync/util/channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698