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

Unified Diff: services/catalog/entry.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/catalog.cc ('k') | services/catalog/entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/catalog/entry.h
diff --git a/services/catalog/entry.h b/services/catalog/entry.h
index 1db0287a9ae3967730ed70ed5a59239e24689581..b7bdfff6ff009651f6d352b7f5ecb65c849c7931 100644
--- a/services/catalog/entry.h
+++ b/services/catalog/entry.h
@@ -5,11 +5,11 @@
#ifndef SERVICES_CATALOG_ENTRY_H_
#define SERVICES_CATALOG_ENTRY_H_
+#include <memory>
#include <set>
#include <string>
#include "base/files/file_path.h"
-#include "base/memory/scoped_ptr.h"
#include "services/catalog/public/interfaces/catalog.mojom.h"
#include "services/shell/public/cpp/capabilities.h"
@@ -27,12 +27,12 @@ class Entry {
explicit Entry(const Entry& other);
~Entry();
- scoped_ptr<base::DictionaryValue> Serialize() const;
+ std::unique_ptr<base::DictionaryValue> Serialize() const;
// If the constructed Entry is a package that provides other Entrys, the
// caller must assume ownership of the tree of Entrys by enumerating
// applications().
- static scoped_ptr<Entry> Deserialize(const base::DictionaryValue& value);
+ static std::unique_ptr<Entry> Deserialize(const base::DictionaryValue& value);
bool ProvidesClass(const std::string& clazz) const;
« no previous file with comments | « services/catalog/catalog.cc ('k') | services/catalog/entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698