summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_process.h
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-06 00:16:37 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-06 00:16:37 +0000
commit1bc830627e73b76f82679a3eff39e44172f9e145 (patch)
tree5333c73691c31bd9f120ceb81b8c71573bfc46c7 /chrome/renderer/render_process.h
parent22f06cb077391d9499ded311af99ef705cb98cde (diff)
downloadchromium_src-1bc830627e73b76f82679a3eff39e44172f9e145.zip
chromium_src-1bc830627e73b76f82679a3eff39e44172f9e145.tar.gz
chromium_src-1bc830627e73b76f82679a3eff39e44172f9e145.tar.bz2
Cleanup forward declared classes that are not needed in chrome/renderer, chrome/test/, and chrome/views. Also fix some lint issues while I'm at it.
Review URL: http://codereview.chromium.org/20112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9289 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_process.h')
-rw-r--r--chrome/renderer/render_process.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/renderer/render_process.h b/chrome/renderer/render_process.h
index 8f2fdbc..df96a2c 100644
--- a/chrome/renderer/render_process.h
+++ b/chrome/renderer/render_process.h
@@ -9,8 +9,6 @@
#include "chrome/common/child_process.h"
#include "chrome/renderer/render_thread.h"
-class RenderView;
-
// Represents the renderer end of the browser<->renderer connection. The
// opposite end is the RenderProcessHost. This is a singleton object for
// each renderer.
@@ -38,7 +36,7 @@ class RenderProcess : public ChildProcess {
private:
friend class ChildProcessFactory<RenderProcess>;
- RenderProcess(const std::wstring& channel_name);
+ explicit RenderProcess(const std::wstring& channel_name);
~RenderProcess();
// Returns a pointer to the RenderProcess singleton instance. This is
@@ -80,8 +78,7 @@ class RenderProcess : public ChildProcess {
static bool load_plugins_in_process_;
- DISALLOW_EVIL_CONSTRUCTORS(RenderProcess);
+ DISALLOW_COPY_AND_ASSIGN(RenderProcess);
};
#endif // CHROME_RENDERER_RENDER_PROCESS_H__
-