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

Side by Side Diff: gpu/ipc/host/shader_disk_cache.h

Issue 2830093003: Replace uses of hash_map in //base (Closed)
Patch Set: iOS Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef GPU_IPC_HOST_SHADER_DISK_CACHE_H_ 5 #ifndef GPU_IPC_HOST_SHADER_DISK_CACHE_H_
6 #define GPU_IPC_HOST_SHADER_DISK_CACHE_H_ 6 #define GPU_IPC_HOST_SHADER_DISK_CACHE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 #include <queue> 11 #include <queue>
12 #include <string> 12 #include <string>
13 #include <unordered_map>
13 14
14 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
15 #include "base/macros.h" 16 #include "base/macros.h"
16 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
17 #include "base/threading/thread_checker.h" 18 #include "base/threading/thread_checker.h"
18 #include "net/disk_cache/disk_cache.h" 19 #include "net/disk_cache/disk_cache.h"
19 20
20 namespace gpu { 21 namespace gpu {
21 22
22 class ShaderCacheFactory; 23 class ShaderCacheFactory;
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 using ShaderClearQueue = std::queue<std::unique_ptr<ShaderClearHelper>>; 156 using ShaderClearQueue = std::queue<std::unique_ptr<ShaderClearHelper>>;
156 using ShaderClearMap = std::map<base::FilePath, ShaderClearQueue>; 157 using ShaderClearMap = std::map<base::FilePath, ShaderClearQueue>;
157 ShaderClearMap shader_clear_map_; 158 ShaderClearMap shader_clear_map_;
158 159
159 DISALLOW_COPY_AND_ASSIGN(ShaderCacheFactory); 160 DISALLOW_COPY_AND_ASSIGN(ShaderCacheFactory);
160 }; 161 };
161 162
162 } // namespace gpu 163 } // namespace gpu
163 164
164 #endif // GPU_IPC_HOST_SHADER_DISK_CACHE_H_ 165 #endif // GPU_IPC_HOST_SHADER_DISK_CACHE_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gl_utils.cc ('k') | ios/chrome/browser/ui/toolbar/web_toolbar_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698