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

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

Issue 11189068: Changing minidump process generation to be in-process on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Improved patch description. Created 8 years, 2 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 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 108
109 // IPC::Sender via RenderProcessHost. 109 // IPC::Sender via RenderProcessHost.
110 virtual bool Send(IPC::Message* msg) OVERRIDE; 110 virtual bool Send(IPC::Message* msg) OVERRIDE;
111 111
112 // IPC::Listener via RenderProcessHost. 112 // IPC::Listener via RenderProcessHost.
113 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 113 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
114 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; 114 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
115 virtual void OnChannelError() OVERRIDE; 115 virtual void OnChannelError() OVERRIDE;
116 116
117 // ChildProcessLauncher::Client implementation. 117 // ChildProcessLauncher::Client implementation.
118 virtual void OnProcessLaunched() OVERRIDE; 118 virtual void OnProcessLaunched(
119 const content::FDInfoList& mapped_files) OVERRIDE;
jam 2012/10/19 16:39:17 nit: you're in the content namespace already
Jay Civelli 2012/10/22 22:09:48 This change is gone.
119 120
120 // Call this function when it is evident that the child process is actively 121 // Call this function when it is evident that the child process is actively
121 // performing some operation, for example if we just received an IPC message. 122 // performing some operation, for example if we just received an IPC message.
122 void mark_child_process_activity_time() { 123 void mark_child_process_activity_time() {
123 child_process_activity_time_ = base::TimeTicks::Now(); 124 child_process_activity_time_ = base::TimeTicks::Now();
124 } 125 }
125 126
126 // Returns the current number of active views in this process. Excludes 127 // Returns the current number of active views in this process. Excludes
127 // any RenderViewHosts that are swapped out. 128 // any RenderViewHosts that are swapped out.
128 int GetActiveViewCount(); 129 int GetActiveViewCount();
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 // Indicates whether this is a RenderProcessHost of a Browser Plugin guest 307 // Indicates whether this is a RenderProcessHost of a Browser Plugin guest
307 // renderer. 308 // renderer.
308 bool is_guest_; 309 bool is_guest_;
309 310
310 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 311 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
311 }; 312 };
312 313
313 } // namespace content 314 } // namespace content
314 315
315 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 316 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698