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

Unified Diff: chrome/browser/geolocation/wifi_data_provider_common.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/geolocation/wifi_data_provider_common.cc
diff --git a/chrome/browser/geolocation/wifi_data_provider_common.cc b/chrome/browser/geolocation/wifi_data_provider_common.cc
index bfa1c5ee9143403eb09ab2e0b01a0b992a573740..3874cfda0b4de3a18eb7aa5d8ad05204b08a065b 100644
--- a/chrome/browser/geolocation/wifi_data_provider_common.cc
+++ b/chrome/browser/geolocation/wifi_data_provider_common.cc
@@ -42,7 +42,7 @@ void WifiDataProviderCommon::StopDataProvider() {
bool WifiDataProviderCommon::GetData(WifiData *data) {
DCHECK(CalledOnClientThread());
DCHECK(data);
- AutoLock lock(data_mutex_);
+ base::AutoLock lock(data_mutex_);
*data = wifi_data_;
// If we've successfully completed a scan, indicate that we have all of the
// data we can get.
@@ -81,7 +81,7 @@ void WifiDataProviderCommon::DoWifiScanTask() {
ScheduleNextScan(polling_policy_->NoWifiInterval());
} else {
{
- AutoLock lock(data_mutex_);
+ base::AutoLock lock(data_mutex_);
update_available = wifi_data_.DiffersSignificantly(new_data);
wifi_data_ = new_data;
}
« no previous file with comments | « chrome/browser/geolocation/wifi_data_provider_common.h ('k') | chrome/browser/hang_monitor/hung_window_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698