| Index: net/disk_cache/simple/simple_index_file_unittest.cc
|
| diff --git a/net/disk_cache/simple/simple_index_file_unittest.cc b/net/disk_cache/simple/simple_index_file_unittest.cc
|
| index 3f1bca572ddb51dd8e71dbd722186cf770729e49..8e96bb40d700c46fdc2f91f9c35405d64f96aa7c 100644
|
| --- a/net/disk_cache/simple/simple_index_file_unittest.cc
|
| +++ b/net/disk_cache/simple/simple_index_file_unittest.cc
|
| @@ -2,13 +2,16 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "net/disk_cache/simple/simple_index_file.h"
|
| +
|
| +#include <memory>
|
| +
|
| #include "base/files/file.h"
|
| #include "base/files/file_util.h"
|
| #include "base/files/scoped_temp_dir.h"
|
| #include "base/hash.h"
|
| #include "base/location.h"
|
| #include "base/logging.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/pickle.h"
|
| #include "base/run_loop.h"
|
| #include "base/single_thread_task_runner.h"
|
| @@ -23,7 +26,6 @@
|
| #include "net/disk_cache/simple/simple_backend_version.h"
|
| #include "net/disk_cache/simple/simple_entry_format.h"
|
| #include "net/disk_cache/simple/simple_index.h"
|
| -#include "net/disk_cache/simple/simple_index_file.h"
|
| #include "net/disk_cache/simple/simple_util.h"
|
| #include "net/disk_cache/simple/simple_version_upgrade.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -120,7 +122,7 @@ TEST_F(SimpleIndexFileTest, Serialize) {
|
| SimpleIndex::InsertInEntrySet(hash, metadata_entries[i], &entries);
|
| }
|
|
|
| - scoped_ptr<base::Pickle> pickle =
|
| + std::unique_ptr<base::Pickle> pickle =
|
| WrappedSimpleIndexFile::Serialize(index_metadata, entries);
|
| EXPECT_TRUE(pickle.get() != NULL);
|
| base::Time now = base::Time::Now();
|
|
|