| Index: net/disk_cache/simple/simple_index.h
|
| diff --git a/net/disk_cache/simple/simple_index.h b/net/disk_cache/simple/simple_index.h
|
| index 0946e5b5cf760e145e63a16be531d9a44e7d8968..d01173f7b7a782cc298248e84cbe6d89ee8fbbac 100644
|
| --- a/net/disk_cache/simple/simple_index.h
|
| +++ b/net/disk_cache/simple/simple_index.h
|
| @@ -8,10 +8,11 @@
|
| #include <stdint.h>
|
|
|
| #include <list>
|
| +#include <unordered_map>
|
| +#include <unordered_set>
|
| #include <vector>
|
|
|
| #include "base/callback.h"
|
| -#include "base/containers/hash_tables.h"
|
| #include "base/files/file_path.h"
|
| #include "base/gtest_prod_util.h"
|
| #include "base/memory/ref_counted.h"
|
| @@ -109,7 +110,7 @@ class NET_EXPORT_PRIVATE SimpleIndex
|
| // entry.
|
| bool UpdateEntrySize(uint64_t entry_hash, int64_t entry_size);
|
|
|
| - typedef base::hash_map<uint64_t, EntryMetadata> EntrySet;
|
| + using EntrySet = std::unordered_map<uint64_t, EntryMetadata>;
|
|
|
| static void InsertInEntrySet(uint64_t entry_hash,
|
| const EntryMetadata& entry_metadata,
|
| @@ -176,7 +177,7 @@ class NET_EXPORT_PRIVATE SimpleIndex
|
|
|
| // This stores all the entry_hash of entries that are removed during
|
| // initialization.
|
| - base::hash_set<uint64_t> removed_entries_;
|
| + std::unordered_set<uint64_t> removed_entries_;
|
| bool initialized_;
|
|
|
| scoped_ptr<SimpleIndexFile> index_file_;
|
|
|