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

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

Issue 1825273002: Add more out of line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/frame_host/frame_tree.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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 GPU_PROCESS_KIND_UNSANDBOXED, 63 GPU_PROCESS_KIND_UNSANDBOXED,
64 GPU_PROCESS_KIND_SANDBOXED, 64 GPU_PROCESS_KIND_SANDBOXED,
65 GPU_PROCESS_KIND_COUNT 65 GPU_PROCESS_KIND_COUNT
66 }; 66 };
67 67
68 typedef base::Callback<void(const IPC::ChannelHandle&, const gpu::GPUInfo&)> 68 typedef base::Callback<void(const IPC::ChannelHandle&, const gpu::GPUInfo&)>
69 EstablishChannelCallback; 69 EstablishChannelCallback;
70 70
71 struct EstablishChannelRequest { 71 struct EstablishChannelRequest {
72 EstablishChannelRequest(); 72 EstablishChannelRequest();
73 EstablishChannelRequest(const EstablishChannelRequest& other);
73 ~EstablishChannelRequest(); 74 ~EstablishChannelRequest();
74 int32_t client_id; 75 int32_t client_id;
75 EstablishChannelCallback callback; 76 EstablishChannelCallback callback;
76 }; 77 };
77 78
78 typedef base::Callback<void(const gfx::GpuMemoryBufferHandle& handle)> 79 typedef base::Callback<void(const gfx::GpuMemoryBufferHandle& handle)>
79 CreateGpuMemoryBufferCallback; 80 CreateGpuMemoryBufferCallback;
80 81
81 static bool gpu_enabled() { return gpu_enabled_; } 82 static bool gpu_enabled() { return gpu_enabled_; }
82 static int gpu_crash_count() { return gpu_crash_count_; } 83 static int gpu_crash_count() { return gpu_crash_count_; }
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 // Browser-side Mojo endpoint which sets up a Mojo channel with the child 293 // Browser-side Mojo endpoint which sets up a Mojo channel with the child
293 // process and contains the browser's ServiceRegistry. 294 // process and contains the browser's ServiceRegistry.
294 scoped_ptr<MojoApplicationHost> mojo_application_host_; 295 scoped_ptr<MojoApplicationHost> mojo_application_host_;
295 296
296 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost); 297 DISALLOW_COPY_AND_ASSIGN(GpuProcessHost);
297 }; 298 };
298 299
299 } // namespace content 300 } // namespace content
300 301
301 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_ 302 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/frame_tree.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698