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

Side by Side Diff: chrome/renderer/render_process.h

Issue 21272: janitorial: browser_render_process_host header/lint cleanup. (try 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/chrome_plugin_host.cc ('k') | chrome/renderer/render_thread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_RENDERER_RENDER_PROCESS_H__ 5 #ifndef CHROME_RENDERER_RENDER_PROCESS_H__
6 #define CHROME_RENDERER_RENDER_PROCESS_H__ 6 #define CHROME_RENDERER_RENDER_PROCESS_H__
7 7
8 #include "base/shared_memory.h"
9 #include "chrome/common/child_process.h" 8 #include "chrome/common/child_process.h"
10 #include "chrome/renderer/render_thread.h" 9 #include "chrome/renderer/render_thread.h"
11 10
11 namespace base {
12 class SharedMemory;
13 }
14
12 // Represents the renderer end of the browser<->renderer connection. The 15 // Represents the renderer end of the browser<->renderer connection. The
13 // opposite end is the RenderProcessHost. This is a singleton object for 16 // opposite end is the RenderProcessHost. This is a singleton object for
14 // each renderer. 17 // each renderer.
15 class RenderProcess : public ChildProcess { 18 class RenderProcess : public ChildProcess {
16 public: 19 public:
17 static bool GlobalInit(const std::wstring& channel_name); 20 static bool GlobalInit(const std::wstring& channel_name);
18 static void GlobalCleanup(); 21 static void GlobalCleanup();
19 22
20 // Returns true if plugins should be loaded in-process. 23 // Returns true if plugins should be loaded in-process.
21 static bool ShouldLoadPluginsInProcess(); 24 static bool ShouldLoadPluginsInProcess();
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 78
76 // This factory is used to lazily invoke ClearSharedMemCache. 79 // This factory is used to lazily invoke ClearSharedMemCache.
77 ScopedRunnableMethodFactory<RenderProcess> clearer_factory_; 80 ScopedRunnableMethodFactory<RenderProcess> clearer_factory_;
78 81
79 static bool load_plugins_in_process_; 82 static bool load_plugins_in_process_;
80 83
81 DISALLOW_COPY_AND_ASSIGN(RenderProcess); 84 DISALLOW_COPY_AND_ASSIGN(RenderProcess);
82 }; 85 };
83 86
84 #endif // CHROME_RENDERER_RENDER_PROCESS_H__ 87 #endif // CHROME_RENDERER_RENDER_PROCESS_H__
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_plugin_host.cc ('k') | chrome/renderer/render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698