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

Unified Diff: chrome/renderer/render_process.h

Issue 155876: Revert r21117 as it caused reliability failures.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « chrome/renderer/mock_render_process.h ('k') | chrome/renderer/render_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_process.h
===================================================================
--- chrome/renderer/render_process.h (revision 21215)
+++ chrome/renderer/render_process.h (working copy)
@@ -21,7 +21,11 @@
// 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
@@ -48,10 +52,14 @@
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
« no previous file with comments | « chrome/renderer/mock_render_process.h ('k') | chrome/renderer/render_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698