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

Unified Diff: ppapi/proxy/device_enumeration_resource_helper.h

Issue 1864293002: Convert //ppapi to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more nullptr 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 | « ppapi/proxy/camera_capabilities_resource.h ('k') | ppapi/proxy/device_enumeration_resource_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/device_enumeration_resource_helper.h
diff --git a/ppapi/proxy/device_enumeration_resource_helper.h b/ppapi/proxy/device_enumeration_resource_helper.h
index ea96ea2ba7163b7a2be80802b688ec973e4d6bb5..5c4fe72891e1bf5028ca72c6b586b648f564bdb3 100644
--- a/ppapi/proxy/device_enumeration_resource_helper.h
+++ b/ppapi/proxy/device_enumeration_resource_helper.h
@@ -7,6 +7,7 @@
#include <stdint.h>
+#include <memory>
#include <vector>
#include "base/macros.h"
@@ -70,7 +71,7 @@ class PPAPI_PROXY_EXPORT DeviceEnumerationResourceHelper
bool pending_enumerate_devices_;
uint32_t monitor_callback_id_;
- scoped_ptr<ThreadAwareCallback<PP_MonitorDeviceChangeCallback> >
+ std::unique_ptr<ThreadAwareCallback<PP_MonitorDeviceChangeCallback>>
monitor_callback_;
void* monitor_user_data_;
« no previous file with comments | « ppapi/proxy/camera_capabilities_resource.h ('k') | ppapi/proxy/device_enumeration_resource_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698