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

Unified Diff: chrome/browser/sync/util/user_settings.h

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/util/extensions_activity_monitor.cc ('k') | chrome/browser/sync/util/user_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/util/user_settings.h
diff --git a/chrome/browser/sync/util/user_settings.h b/chrome/browser/sync/util/user_settings.h
index 5545c8ca0b2b5b3e078be420f5a5c6de5cd7c829..546c8b092b5f7c33cb8110a5425b3827aac45473 100644
--- a/chrome/browser/sync/util/user_settings.h
+++ b/chrome/browser/sync/util/user_settings.h
@@ -9,7 +9,7 @@
#include <map>
#include <string>
-#include "base/lock.h"
+#include "base/synchronization/lock.h"
#include "build/build_config.h"
extern "C" struct sqlite3;
@@ -79,7 +79,7 @@ class UserSettings {
struct ScopedDBHandle {
explicit ScopedDBHandle(UserSettings* settings);
inline sqlite3* get() const { return *handle_; }
- AutoLock mutex_lock_;
+ base::AutoLock mutex_lock_;
sqlite3** const handle_;
};
@@ -90,11 +90,11 @@ class UserSettings {
private:
std::string email_;
- mutable Lock mutex_; // protects email_.
+ mutable base::Lock mutex_; // protects email_.
// We keep a single dbhandle.
sqlite3* dbhandle_;
- Lock dbhandle_mutex_;
+ base::Lock dbhandle_mutex_;
// TODO(sync): Use in-memory cache for service auth tokens on posix.
// Have someone competent in Windows switch it over to not use Sqlite in the
« no previous file with comments | « chrome/browser/sync/util/extensions_activity_monitor.cc ('k') | chrome/browser/sync/util/user_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698