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

Unified Diff: chrome/browser/chromeos/dom_ui/system_settings_provider.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/child_process_security_policy.cc ('k') | chrome/browser/chromeos/login/camera.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/dom_ui/system_settings_provider.cc
diff --git a/chrome/browser/chromeos/dom_ui/system_settings_provider.cc b/chrome/browser/chromeos/dom_ui/system_settings_provider.cc
index fcfa7dc336afb882712209caa0704e3efdc56916..2667e0ce7ea11eec565b055625c2153430a88bae 100644
--- a/chrome/browser/chromeos/dom_ui/system_settings_provider.cc
+++ b/chrome/browser/chromeos/dom_ui/system_settings_provider.cc
@@ -8,11 +8,11 @@
#include "app/l10n_util.h"
#include "base/i18n/rtl.h"
-#include "base/lock.h"
#include "base/scoped_ptr.h"
#include "base/stl_util-inl.h"
#include "base/string_util.h"
#include "base/stringprintf.h"
+#include "base/synchronization/lock.h"
#include "base/time.h"
#include "base/utf_string_conversions.h"
#include "base/values.h"
@@ -120,7 +120,7 @@ static const char* kTimeZones[] = {
"Pacific/Tongatapu",
};
-static Lock timezone_bundle_lock;
+static base::Lock timezone_bundle_lock;
struct UResClose {
inline void operator() (UResourceBundle* b) const {
@@ -138,7 +138,7 @@ string16 GetExemplarCity(const icu::TimeZone& zone) {
UErrorCode status = U_ZERO_ERROR;
{
- AutoLock lock(timezone_bundle_lock);
+ base::AutoLock lock(timezone_bundle_lock);
if (zone_bundle == NULL)
zone_bundle = ures_open(zone_bundle_name, uloc_getDefault(), &status);
« no previous file with comments | « chrome/browser/child_process_security_policy.cc ('k') | chrome/browser/chromeos/login/camera.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698