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

Side by Side Diff: content/browser/gpu/gpu_process_host.h

Issue 2019973002: [mojo-edk] Bind a child token to child launches and port reservations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 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
« no previous file with comments | « content/browser/child_process_launcher.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « content/browser/child_process_launcher.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698