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

Unified Diff: ppapi/proxy/interface_list.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/gamepad_resource.h ('k') | ppapi/proxy/interface_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/interface_list.h
diff --git a/ppapi/proxy/interface_list.h b/ppapi/proxy/interface_list.h
index ac05aa51cd5fe81d12475a29b91a3b715f9a2225..85518d8ce2da013e162cbff2f3f0d5f2ea14fb01 100644
--- a/ppapi/proxy/interface_list.h
+++ b/ppapi/proxy/interface_list.h
@@ -6,11 +6,11 @@
#define PPAPI_PROXY_INTERFACE_LIST_H_
#include <map>
+#include <memory>
#include <string>
#include "base/containers/scoped_ptr_hash_map.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/synchronization/lock.h"
#include "ppapi/proxy/interface_proxy.h"
#include "ppapi/proxy/ppapi_proxy_export.h"
@@ -81,7 +81,7 @@ class PPAPI_PROXY_EXPORT InterfaceList {
// Give friendship for HashInterfaceName.
friend class InterfaceInfo;
- typedef base::ScopedPtrHashMap<std::string, scoped_ptr<InterfaceInfo>>
+ typedef base::ScopedPtrHashMap<std::string, std::unique_ptr<InterfaceInfo>>
NameToInterfaceInfoMap;
void AddProxy(ApiID id, InterfaceProxy::Factory factory);
« no previous file with comments | « ppapi/proxy/gamepad_resource.h ('k') | ppapi/proxy/interface_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698