summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_process.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-20 22:20:20 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-20 22:20:20 +0000
commitf717ea6403554cc60a5dd9312fe585cdf64a8815 (patch)
tree523186875fe4c36bcc1c6905b3da36943a174318 /chrome/renderer/render_process.h
parente74b81de4f2785b5cff5cb0cc85e76b3d434248e (diff)
downloadchromium_src-f717ea6403554cc60a5dd9312fe585cdf64a8815.zip
chromium_src-f717ea6403554cc60a5dd9312fe585cdf64a8815.tar.gz
chromium_src-f717ea6403554cc60a5dd9312fe585cdf64a8815.tar.bz2
Switch the first thread in a child process to be the main thread, and make the IO thread be the second thread. The change is needed for plugins on mac.
Review URL: http://codereview.chromium.org/149558 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21117 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_process.h')
-rw-r--r--chrome/renderer/render_process.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/renderer/render_process.h b/chrome/renderer/render_process.h
index 727aae5..d445fbe 100644
--- a/chrome/renderer/render_process.h
+++ b/chrome/renderer/render_process.h
@@ -21,11 +21,7 @@ class TransportDIB;
// each renderer.
class RenderProcess : public ChildProcess {
public:
- // This constructor grabs the channel name from the command line arguments.
RenderProcess();
- // This constructor uses the given channel name.
- RenderProcess(const std::string& channel_name);
-
~RenderProcess();
// Get a canvas suitable for drawing and transporting to the browser
@@ -52,14 +48,10 @@ class RenderProcess : public ChildProcess {
return static_cast<RenderProcess*>(ChildProcess::current());
}
- protected:
- friend class RenderThread;
// Just like in_process_plugins(), but called before RenderProcess is created.
static bool InProcessPlugins();
private:
- void Init();
-
// Look in the shared memory cache for a suitable object to reuse.
// result: (output) the memory found
// size: the resulting memory will be >= this size, in bytes