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

Unified Diff: content/public/utility/content_utility_client.h

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent 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 | « content/public/test/unittest_test_suite.h ('k') | content/renderer/raster_worker_pool.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/utility/content_utility_client.h
diff --git a/content/public/utility/content_utility_client.h b/content/public/utility/content_utility_client.h
index 299974a6436fd4366c1eac5bc23a63505e809e79..3d6cb445127cb3bab4ad5d5f71b92923334ee924 100644
--- a/content/public/utility/content_utility_client.h
+++ b/content/public/utility/content_utility_client.h
@@ -6,9 +6,9 @@
#define CONTENT_PUBLIC_UTILITY_CONTENT_UTILITY_CLIENT_H_
#include <map>
+#include <memory>
#include "base/callback_forward.h"
-#include "base/memory/scoped_ptr.h"
#include "content/public/common/content_client.h"
class GURL;
@@ -25,7 +25,8 @@ class ServiceRegistry;
class CONTENT_EXPORT ContentUtilityClient {
public:
using StaticMojoApplicationMap =
- std::map<std::string, base::Callback<scoped_ptr<mojo::ShellClient>()>>;
+ std::map<std::string,
+ base::Callback<std::unique_ptr<mojo::ShellClient>()>>;
virtual ~ContentUtilityClient() {}
« no previous file with comments | « content/public/test/unittest_test_suite.h ('k') | content/renderer/raster_worker_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698