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

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

Issue 9837026: Histogram times surrounding render crashes (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1025/src/
Patch Set: Created 8 years, 9 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
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 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <queue> 10 #include <queue>
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 161
162 // Copies applicable command line switches from the given |browser_cmd| line 162 // Copies applicable command line switches from the given |browser_cmd| line
163 // flags to the output |renderer_cmd| line flags. Not all switches will be 163 // flags to the output |renderer_cmd| line flags. Not all switches will be
164 // copied over. 164 // copied over.
165 void PropagateBrowserCommandLineToRenderer(const CommandLine& browser_cmd, 165 void PropagateBrowserCommandLineToRenderer(const CommandLine& browser_cmd,
166 CommandLine* renderer_cmd) const; 166 CommandLine* renderer_cmd) const;
167 167
168 // Callers can reduce the RenderProcess' priority. 168 // Callers can reduce the RenderProcess' priority.
169 void SetBackgrounded(bool backgrounded); 169 void SetBackgrounded(bool backgrounded);
170 170
171 // Handle termination of our process. |was_alive| indicates that when we 171 // Handle termination of our process.
172 // tried to retrieve the exit code the process had not finished yet. 172 void ProcessDied(RendererClosedDetails* details);
173 void ProcessDied(base::ProcessHandle handle,
174 base::TerminationStatus status,
175 int exit_code,
176 bool was_alive);
177 173
178 // The count of currently visible widgets. Since the host can be a container 174 // The count of currently visible widgets. Since the host can be a container
179 // for multiple widgets, it uses this count to determine when it should be 175 // for multiple widgets, it uses this count to determine when it should be
180 // backgrounded. 176 // backgrounded.
181 int32 visible_widgets_; 177 int32 visible_widgets_;
182 178
183 // Does this process have backgrounded priority. 179 // Does this process have backgrounded priority.
184 bool backgrounded_; 180 bool backgrounded_;
185 181
186 // Used to allow a RenderWidgetHost to intercept various messages on the 182 // Used to allow a RenderWidgetHost to intercept various messages on the
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 // filtering for this at the render widget level. 242 // filtering for this at the render widget level.
247 bool ignore_input_events_; 243 bool ignore_input_events_;
248 244
249 // Records the last time we regarded the child process active. 245 // Records the last time we regarded the child process active.
250 base::TimeTicks child_process_activity_time_; 246 base::TimeTicks child_process_activity_time_;
251 247
252 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 248 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
253 }; 249 };
254 250
255 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 251 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/metrics/metrics_service.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