Index: net/disk_cache/simple/simple_synchronous_entry.h |
diff --git a/net/disk_cache/simple/simple_synchronous_entry.h b/net/disk_cache/simple/simple_synchronous_entry.h |
index 963f665b931c361c07350a4eed0ab21b4f61617a..629be76e1cfaf0ea79cf30eb7c76a7fabcb8ad54 100644 |
--- a/net/disk_cache/simple/simple_synchronous_entry.h |
+++ b/net/disk_cache/simple/simple_synchronous_entry.h |
@@ -9,6 +9,7 @@ |
#include <algorithm> |
#include <map> |
+#include <memory> |
#include <string> |
#include <utility> |
#include <vector> |
@@ -16,7 +17,6 @@ |
#include "base/files/file.h" |
#include "base/files/file_path.h" |
#include "base/memory/ref_counted.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/time/time.h" |
#include "net/base/cache_type.h" |
#include "net/base/net_export.h" |
@@ -176,7 +176,7 @@ class SimpleSynchronousEntry { |
// Close all streams, and add write EOF records to streams indicated by the |
// CRCRecord entries in |crc32s_to_write|. |
void Close(const SimpleEntryStat& entry_stat, |
- scoped_ptr<std::vector<CRCRecord> > crc32s_to_write, |
+ std::unique_ptr<std::vector<CRCRecord>> crc32s_to_write, |
net::GrowableIOBuffer* stream_0_data); |
const base::FilePath& path() const { return path_; } |