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

Unified Diff: content/gpu/gpu_child_thread.h

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/webmessageportchannel_impl.cc ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_child_thread.h
===================================================================
--- content/gpu/gpu_child_thread.h (revision 163290)
+++ content/gpu/gpu_child_thread.h (working copy)
@@ -25,6 +25,7 @@
class TargetServices;
}
+namespace content {
class GpuWatchdogThread;
// The main thread of the GPU child process. There will only ever be one of
@@ -33,8 +34,7 @@
// commands to the GPU.
class GpuChildThread : public ChildThread {
public:
- explicit GpuChildThread(bool dead_on_arrival,
- const content::GPUInfo& gpu_info);
+ explicit GpuChildThread(bool dead_on_arrival, const GPUInfo& gpu_info);
// For single-process mode.
explicit GpuChildThread(const std::string& channel_id);
@@ -66,7 +66,7 @@
#if defined(OS_WIN)
static void CollectDxDiagnostics(GpuChildThread* thread);
static void SetDxDiagnostics(GpuChildThread* thread,
- const content::DxDiagNode& node);
+ const DxDiagNode& node);
#endif
// Set this flag to true if a fatal error occurred before we receive the
@@ -86,9 +86,11 @@
scoped_ptr<GpuChannelManager> gpu_channel_manager_;
// Information about the GPU, such as device and vendor ID.
- content::GPUInfo gpu_info_;
+ GPUInfo gpu_info_;
DISALLOW_COPY_AND_ASSIGN(GpuChildThread);
};
+} // namespace content
+
#endif // CONTENT_GPU_GPU_CHILD_THREAD_H_
« no previous file with comments | « content/common/webmessageportchannel_impl.cc ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698