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

Unified Diff: content/browser/geolocation/wifi_data_provider_chromeos.h

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: content/browser/geolocation/wifi_data_provider_chromeos.h
diff --git a/content/browser/geolocation/wifi_data_provider_chromeos.h b/content/browser/geolocation/wifi_data_provider_chromeos.h
index c5055dc6d495af8bccaad692f1973b39581d6b0e..df74768fa49891bff63cd8f8c012d59b1adacfd6 100644
--- a/content/browser/geolocation/wifi_data_provider_chromeos.h
+++ b/content/browser/geolocation/wifi_data_provider_chromeos.h
@@ -5,9 +5,10 @@
#ifndef CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_CHROMEOS_H_
#define CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_CHROMEOS_H_
+#include <memory>
+
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "content/browser/geolocation/wifi_data_provider.h"
#include "content/browser/geolocation/wifi_polling_policy.h"
@@ -47,7 +48,7 @@ class CONTENT_EXPORT WifiDataProviderChromeOs : public WifiDataProvider {
bool GetAccessPointData(WifiData::AccessPointDataSet* data);
// Controls the polling update interval. (client thread)
- scoped_ptr<WifiPollingPolicy> polling_policy_;
+ std::unique_ptr<WifiPollingPolicy> polling_policy_;
// The latest wifi data. (client thread)
WifiData wifi_data_;
« no previous file with comments | « content/browser/geolocation/network_location_request.cc ('k') | content/browser/geolocation/wifi_data_provider_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698