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

Unified Diff: chrome/gpu/gpu_thread.h

Issue 6189008: GPU service respects --single-process (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/gpu/gpu_thread.h
===================================================================
--- chrome/gpu/gpu_thread.h (revision 71128)
+++ chrome/gpu/gpu_thread.h (working copy)
@@ -6,6 +6,8 @@
#define CHROME_GPU_GPU_THREAD_H_
#pragma once
+#include <string>
+
#include "base/basictypes.h"
#include "base/command_line.h"
#include "base/scoped_ptr.h"
@@ -26,7 +28,11 @@
class GpuThread : public ChildThread {
public:
- explicit GpuThread(const CommandLine& command_line);
+ GpuThread();
+
+ // For single-process mode.
+ explicit GpuThread(const std::string& channel_id);
+
~GpuThread();
void Init(const base::Time& process_start_time);
@@ -58,7 +64,6 @@
static void SetDxDiagnostics(GpuThread* thread, const DxDiagNode& node);
#endif
- CommandLine command_line_;
base::Time process_start_time_;
scoped_refptr<GpuWatchdogThread> watchdog_thread_;
« chrome/gpu/gpu_channel.h ('K') | « chrome/gpu/gpu_main.cc ('k') | chrome/gpu/gpu_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698