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

Unified Diff: chrome/utility/safe_browsing/mac/udif.h

Issue 1899083002: Convert //chrome 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 | « chrome/utility/safe_browsing/mac/read_stream_unittest.cc ('k') | chrome/utility/safe_browsing/mac/udif.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/safe_browsing/mac/udif.h
diff --git a/chrome/utility/safe_browsing/mac/udif.h b/chrome/utility/safe_browsing/mac/udif.h
index bb8cdc0c03a3afd7c66ba32c9790a68c8c2f921e..3b1a29d5280bb3d5a4d3f70d46ca62bea9e869f3 100644
--- a/chrome/utility/safe_browsing/mac/udif.h
+++ b/chrome/utility/safe_browsing/mac/udif.h
@@ -8,15 +8,14 @@
#include <CoreFoundation/CoreFoundation.h>
#include <stddef.h>
#include <stdint.h>
+#include <sys/types.h>
+#include <memory>
#include <string>
#include <vector>
-#include <sys/types.h>
-
#include "base/mac/scoped_cftyperef.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
namespace safe_browsing {
@@ -71,7 +70,7 @@ class UDIFParser {
// Returns a stream of the raw partition data for the given partition
// number.
- scoped_ptr<ReadStream> GetPartitionReadStream(size_t part_number);
+ std::unique_ptr<ReadStream> GetPartitionReadStream(size_t part_number);
private:
// Parses the blkx plist trailer structure.
« no previous file with comments | « chrome/utility/safe_browsing/mac/read_stream_unittest.cc ('k') | chrome/utility/safe_browsing/mac/udif.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698