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

Unified Diff: content/browser/file_descriptor_info_impl.h

Issue 1874893002: Convert //content/browser 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
Index: content/browser/file_descriptor_info_impl.h
diff --git a/content/browser/file_descriptor_info_impl.h b/content/browser/file_descriptor_info_impl.h
index 2195eb99eca4a1c5c3974940fe1a2126e3183020..010e797c1d846dc817dea4f05c06fd300e14162e 100644
--- a/content/browser/file_descriptor_info_impl.h
+++ b/content/browser/file_descriptor_info_impl.h
@@ -7,9 +7,9 @@
#include <stddef.h>
+#include <memory>
#include <vector>
-#include "base/memory/scoped_ptr.h"
#include "content/common/content_export.h"
#include "content/public/browser/file_descriptor_info.h"
@@ -17,7 +17,7 @@ namespace content {
class FileDescriptorInfoImpl : public FileDescriptorInfo {
public:
- CONTENT_EXPORT static scoped_ptr<FileDescriptorInfo> Create();
+ CONTENT_EXPORT static std::unique_ptr<FileDescriptorInfo> Create();
~FileDescriptorInfoImpl() override;
void Share(int id, base::PlatformFile fd) override;
« no previous file with comments | « content/browser/dom_storage/session_storage_database_unittest.cc ('k') | content/browser/file_descriptor_info_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698