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

Unified Diff: services/user/user_shell_client.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/user/user_service.cc ('k') | services/user/user_shell_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/user/user_shell_client.h
diff --git a/services/user/user_shell_client.h b/services/user/user_shell_client.h
index f9c5dda4e074d43ce2b2f72e3b6daa042d7d4dfa..8d97a72a2ec6caf9fd1dc92413862f5ae470d5c4 100644
--- a/services/user/user_shell_client.h
+++ b/services/user/user_shell_client.h
@@ -16,7 +16,7 @@
namespace user_service {
-scoped_ptr<shell::ShellClient> CreateUserShellClient(
+std::unique_ptr<shell::ShellClient> CreateUserShellClient(
scoped_refptr<base::SingleThreadTaskRunner> user_service_runner,
scoped_refptr<base::SingleThreadTaskRunner> leveldb_service_runner);
@@ -57,10 +57,10 @@ class UserShellClient
// We create these two objects so we can delete them on the correct task
// runners.
class UserServiceObjects;
- scoped_ptr<UserServiceObjects> user_objects_;
+ std::unique_ptr<UserServiceObjects> user_objects_;
class LevelDBServiceObjects;
- scoped_ptr<LevelDBServiceObjects> leveldb_objects_;
+ std::unique_ptr<LevelDBServiceObjects> leveldb_objects_;
DISALLOW_COPY_AND_ASSIGN(UserShellClient);
};
« no previous file with comments | « services/user/user_service.cc ('k') | services/user/user_shell_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698