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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 11316261: Linux: inform the Zygote when it's waiting on a dead process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Adam's remarks. Created 8 years 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 // Copies applicable command line switches from the given |browser_cmd| line 212 // Copies applicable command line switches from the given |browser_cmd| line
213 // flags to the output |renderer_cmd| line flags. Not all switches will be 213 // flags to the output |renderer_cmd| line flags. Not all switches will be
214 // copied over. 214 // copied over.
215 void PropagateBrowserCommandLineToRenderer(const CommandLine& browser_cmd, 215 void PropagateBrowserCommandLineToRenderer(const CommandLine& browser_cmd,
216 CommandLine* renderer_cmd) const; 216 CommandLine* renderer_cmd) const;
217 217
218 // Callers can reduce the RenderProcess' priority. 218 // Callers can reduce the RenderProcess' priority.
219 void SetBackgrounded(bool backgrounded); 219 void SetBackgrounded(bool backgrounded);
220 220
221 // Handle termination of our process. 221 // Handle termination of our process.
222 void ProcessDied(); 222 void ProcessDied(bool already_dead);
223 223
224 // The count of currently visible widgets. Since the host can be a container 224 // The count of currently visible widgets. Since the host can be a container
225 // for multiple widgets, it uses this count to determine when it should be 225 // for multiple widgets, it uses this count to determine when it should be
226 // backgrounded. 226 // backgrounded.
227 int32 visible_widgets_; 227 int32 visible_widgets_;
228 228
229 // Does this process have backgrounded priority. 229 // Does this process have backgrounded priority.
230 bool backgrounded_; 230 bool backgrounded_;
231 231
232 // Used to allow a RenderWidgetHost to intercept various messages on the 232 // Used to allow a RenderWidgetHost to intercept various messages on the
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 // Indicates whether this is a RenderProcessHost of a Browser Plugin guest 307 // Indicates whether this is a RenderProcessHost of a Browser Plugin guest
308 // renderer. 308 // renderer.
309 bool is_guest_; 309 bool is_guest_;
310 310
311 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 311 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
312 }; 312 };
313 313
314 } // namespace content 314 } // namespace content
315 315
316 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 316 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/child_process_launcher.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698