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

Unified Diff: device/usb/usb_service.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/usb/usb_device_impl.h ('k') | device/usb/usb_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb_service.h
diff --git a/device/usb/usb_service.h b/device/usb/usb_service.h
index afc58091aace67a55e40e7faa9b4423e57827295..5405a4b4eab2add128331f49ace1f7e6e9eeec3a 100644
--- a/device/usb/usb_service.h
+++ b/device/usb/usb_service.h
@@ -5,13 +5,13 @@
#ifndef DEVICE_USB_USB_SERVICE_H_
#define DEVICE_USB_USB_SERVICE_H_
+#include <memory>
#include <string>
#include <vector>
#include "base/bind_helpers.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
#include "base/threading/non_thread_safe.h"
@@ -50,7 +50,7 @@ class UsbService : public base::NonThreadSafe {
// The file task runner reference is used for blocking I/O operations.
// Returns nullptr when initialization fails.
- static scoped_ptr<UsbService> Create(
+ static std::unique_ptr<UsbService> Create(
scoped_refptr<base::SequencedTaskRunner> blocking_task_runner);
virtual ~UsbService();
« no previous file with comments | « device/usb/usb_device_impl.h ('k') | device/usb/usb_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698