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

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

Powered by Google App Engine
This is Rietveld 408576698