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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 gpu::GPUMemoryUmaStats uma_memory_stats_; | 293 gpu::GPUMemoryUmaStats uma_memory_stats_; |
294 | 294 |
295 typedef std::map<int32_t, scoped_refptr<ShaderDiskCache>> | 295 typedef std::map<int32_t, scoped_refptr<ShaderDiskCache>> |
296 ClientIdToShaderCacheMap; | 296 ClientIdToShaderCacheMap; |
297 ClientIdToShaderCacheMap client_id_to_shader_cache_; | 297 ClientIdToShaderCacheMap client_id_to_shader_cache_; |
298 | 298 |
299 std::string shader_prefix_key_; | 299 std::string shader_prefix_key_; |
300 | 300 |
301 // Browser-side Mojo endpoint which sets up a Mojo channel with the child | 301 // Browser-side Mojo endpoint which sets up a Mojo channel with the child |
302 // process and contains the browser's ServiceRegistry. | 302 // process and contains the browser's ServiceRegistry. |
| 303 const std::string child_token_; |
303 std::unique_ptr<MojoApplicationHost> mojo_application_host_; | 304 std::unique_ptr<MojoApplicationHost> mojo_application_host_; |
304 | 305 |
305 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); | 306 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); |
306 }; | 307 }; |
307 | 308 |
308 } // namespace content | 309 } // namespace content |
309 | 310 |
310 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ | 311 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ |
OLD | NEW |