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

Unified Diff: services/catalog/instance.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/entry_unittest.cc ('k') | services/catalog/instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/catalog/instance.h
diff --git a/services/catalog/instance.h b/services/catalog/instance.h
index d7d7a7b3f3cbd5bc424954fd68256daa8b638d14..673518a6967e671eb7e7f858bad8c932feaf2d7f 100644
--- a/services/catalog/instance.h
+++ b/services/catalog/instance.h
@@ -26,7 +26,7 @@ class Instance : public shell::mojom::ShellResolver,
public mojom::Catalog {
public:
// |manifest_provider| may be null.
- Instance(scoped_ptr<Store> store, Reader* system_reader);
+ Instance(std::unique_ptr<Store> store, Reader* system_reader);
~Instance() override;
void BindShellResolver(shell::mojom::ShellResolverRequest request);
@@ -68,7 +68,7 @@ class Instance : public shell::mojom::ShellResolver,
shell::mojom::ResolveResultPtr result);
// User-specific persistent storage of package manifests and other settings.
- scoped_ptr<Store> store_;
+ std::unique_ptr<Store> store_;
mojo::BindingSet<shell::mojom::ShellResolver> shell_resolver_bindings_;
mojo::BindingSet<mojom::Catalog> catalog_bindings_;
« no previous file with comments | « services/catalog/entry_unittest.cc ('k') | services/catalog/instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698