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

Unified Diff: chrome/renderer/render_process.h

Issue 155944: Switch the first thread in a child process to be the main thread... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 11 years, 5 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/renderer/render_process.h
===================================================================
--- chrome/renderer/render_process.h (revision 21342)
+++ chrome/renderer/render_process.h (working copy)
@@ -21,11 +21,7 @@
// 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 @@
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

Powered by Google App Engine
This is Rietveld 408576698