OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ | 5 #ifndef CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ |
6 #define CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ | 6 #define CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 // received, assume all of these URLs are guilty, and block | 281 // received, assume all of these URLs are guilty, and block |
282 // automatic execution of 3D content from those domains. | 282 // automatic execution of 3D content from those domains. |
283 std::multiset<GURL> urls_with_live_offscreen_contexts_; | 283 std::multiset<GURL> urls_with_live_offscreen_contexts_; |
284 | 284 |
285 typedef std::map<int32_t, scoped_refptr<ShaderDiskCache>> | 285 typedef std::map<int32_t, scoped_refptr<ShaderDiskCache>> |
286 ClientIdToShaderCacheMap; | 286 ClientIdToShaderCacheMap; |
287 ClientIdToShaderCacheMap client_id_to_shader_cache_; | 287 ClientIdToShaderCacheMap client_id_to_shader_cache_; |
288 | 288 |
289 std::string shader_prefix_key_; | 289 std::string shader_prefix_key_; |
290 | 290 |
| 291 std::unique_ptr<base::SharedMemory> field_trial_state_; |
| 292 |
291 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); | 293 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); |
292 }; | 294 }; |
293 | 295 |
294 } // namespace content | 296 } // namespace content |
295 | 297 |
296 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ | 298 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ |
OLD | NEW |