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

Unified Diff: media/midi/usb_midi_device_android.h

Issue 1915443003: Replace scoped_ptr with std::unique_ptr in //media. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptr-media-base
Patch Set: scopedptr-media: rebase 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 | « media/midi/usb_midi_device.h ('k') | media/midi/usb_midi_device_factory_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/usb_midi_device_android.h
diff --git a/media/midi/usb_midi_device_android.h b/media/midi/usb_midi_device_android.h
index 58f45b39c0524ef42c2a363f507a42cf25f66c30..1c5e696821f76ad4846c182891878c7c11b31d8f 100644
--- a/media/midi/usb_midi_device_android.h
+++ b/media/midi/usb_midi_device_android.h
@@ -7,6 +7,7 @@
#include <jni.h>
#include <stdint.h>
+#include <memory>
#include <string>
#include <vector>
@@ -21,7 +22,7 @@ namespace midi {
class USB_MIDI_EXPORT UsbMidiDeviceAndroid : public UsbMidiDevice {
public:
- static scoped_ptr<Factory> CreateFactory();
+ static std::unique_ptr<Factory> CreateFactory();
UsbMidiDeviceAndroid(const base::android::JavaRef<jobject>& raw_device,
UsbMidiDeviceDelegate* delegate);
« no previous file with comments | « media/midi/usb_midi_device.h ('k') | media/midi/usb_midi_device_factory_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698