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

Side by Side Diff: content/gpu/gpu_child_thread.h

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « content/common/quota_dispatcher.cc ('k') | content/plugin/plugin_carbon_interpose_mac.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_GPU_GPU_CHILD_THREAD_H_ 5 #ifndef CONTENT_GPU_GPU_CHILD_THREAD_H_
6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_ 6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 16 matching lines...) Expand all
27 27
28 namespace content { 28 namespace content {
29 class GpuWatchdogThread; 29 class GpuWatchdogThread;
30 30
31 // The main thread of the GPU child process. There will only ever be one of 31 // The main thread of the GPU child process. There will only ever be one of
32 // these per process. It does process initialization and shutdown. It forwards 32 // these per process. It does process initialization and shutdown. It forwards
33 // IPC messages to GpuChannelManager, which is responsible for issuing rendering 33 // IPC messages to GpuChannelManager, which is responsible for issuing rendering
34 // commands to the GPU. 34 // commands to the GPU.
35 class GpuChildThread : public ChildThread { 35 class GpuChildThread : public ChildThread {
36 public: 36 public:
37 explicit GpuChildThread(GpuWatchdogThread* gpu_watchdog_thread, 37 GpuChildThread(GpuWatchdogThread* gpu_watchdog_thread,
38 bool dead_on_arrival, 38 bool dead_on_arrival,
39 const GPUInfo& gpu_info); 39 const GPUInfo& gpu_info);
40 40
41 // For single-process mode. 41 // For single-process mode.
42 explicit GpuChildThread(const std::string& channel_id); 42 explicit GpuChildThread(const std::string& channel_id);
43 43
44 virtual ~GpuChildThread(); 44 virtual ~GpuChildThread();
45 45
46 void Init(const base::Time& process_start_time); 46 void Init(const base::Time& process_start_time);
47 void StopWatchdog(); 47 void StopWatchdog();
48 48
49 // ChildThread overrides. 49 // ChildThread overrides.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 // Information about the GPU, such as device and vendor ID. 82 // Information about the GPU, such as device and vendor ID.
83 GPUInfo gpu_info_; 83 GPUInfo gpu_info_;
84 84
85 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); 85 DISALLOW_COPY_AND_ASSIGN(GpuChildThread);
86 }; 86 };
87 87
88 } // namespace content 88 } // namespace content
89 89
90 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ 90 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_
OLDNEW
« no previous file with comments | « content/common/quota_dispatcher.cc ('k') | content/plugin/plugin_carbon_interpose_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698