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

Unified Diff: device/udev_linux/udev1_loader.h

Issue 1874313002: Convert device 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 | « device/udev_linux/udev0_loader.h ('k') | device/udev_linux/udev_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/udev_linux/udev1_loader.h
diff --git a/device/udev_linux/udev1_loader.h b/device/udev_linux/udev1_loader.h
index 5a74e1b156d84b071f4ca33ab658f9cd186e297a..0d8d6616a8c3243097682b0424ba919cd23d5c5e 100644
--- a/device/udev_linux/udev1_loader.h
+++ b/device/udev_linux/udev1_loader.h
@@ -5,8 +5,9 @@
#ifndef DEVICE_UDEV_LINUX_UDEV1_LOADER_H_
#define DEVICE_UDEV_LINUX_UDEV1_LOADER_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "device/udev_linux/udev_loader.h"
class LibUdev1Loader;
@@ -74,7 +75,7 @@ class Udev1Loader : public UdevLoader {
void udev_set_log_priority(struct udev* udev, int priority) override;
void udev_unref(udev* udev) override;
- scoped_ptr<LibUdev1Loader> lib_loader_;
+ std::unique_ptr<LibUdev1Loader> lib_loader_;
DISALLOW_COPY_AND_ASSIGN(Udev1Loader);
};
« no previous file with comments | « device/udev_linux/udev0_loader.h ('k') | device/udev_linux/udev_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698