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

Unified Diff: services/catalog/types.h

Issue 1910673002: Convert //services from scoped_ptr 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 | « services/catalog/store.h ('k') | services/tracing/public/cpp/tracing_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/catalog/types.h
diff --git a/services/catalog/types.h b/services/catalog/types.h
index 1c66890f75869c876de82461f8baecff5879a86a..00d3cc585869c7a14b078a520756a7ce69604aac 100644
--- a/services/catalog/types.h
+++ b/services/catalog/types.h
@@ -6,16 +6,16 @@
#define SERVICES_CATALOG_TYPES_H_
#include <map>
+#include <memory>
#include <string>
-#include "base/memory/scoped_ptr.h"
namespace catalog {
class Entry;
// A map of mojo names -> catalog |Entry|s.
-using EntryCache = std::map<std::string, scoped_ptr<Entry>>;
+using EntryCache = std::map<std::string, std::unique_ptr<Entry>>;
} // namespace catalog
« no previous file with comments | « services/catalog/store.h ('k') | services/tracing/public/cpp/tracing_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698