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

Unified Diff: content/browser/device_sensors/ambient_light_mac.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
« no previous file with comments | « content/browser/database_tracker_unittest.cc ('k') | content/browser/device_sensors/ambient_light_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/device_sensors/ambient_light_mac.h
diff --git a/content/browser/device_sensors/ambient_light_mac.h b/content/browser/device_sensors/ambient_light_mac.h
index 36eff8b76f1437cb4a42d700f4d7acc1294c25e2..6d4af75ce80c20c828a86d0708ec7799cb3a09b2 100644
--- a/content/browser/device_sensors/ambient_light_mac.h
+++ b/content/browser/device_sensors/ambient_light_mac.h
@@ -8,8 +8,9 @@
#include <IOKit/IOKitLib.h>
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
namespace content {
@@ -17,7 +18,7 @@ namespace content {
class AmbientLightSensor {
public:
// Create AmbientLightSensor object, return NULL if no valid is sensor found.
- static scoped_ptr<AmbientLightSensor> Create();
+ static std::unique_ptr<AmbientLightSensor> Create();
~AmbientLightSensor();
« no previous file with comments | « content/browser/database_tracker_unittest.cc ('k') | content/browser/device_sensors/ambient_light_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698