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

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

Issue 10907182: Add UMA counter for hung renderers on cross-site navigation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 RenderProcessHostImpl(BrowserContext* browser_context, 59 RenderProcessHostImpl(BrowserContext* browser_context,
60 StoragePartitionImpl* storage_partition_impl, 60 StoragePartitionImpl* storage_partition_impl,
61 bool is_guest); 61 bool is_guest);
62 virtual ~RenderProcessHostImpl(); 62 virtual ~RenderProcessHostImpl();
63 63
64 // RenderProcessHost implementation (public portion). 64 // RenderProcessHost implementation (public portion).
65 virtual void EnableSendQueue() OVERRIDE; 65 virtual void EnableSendQueue() OVERRIDE;
66 virtual bool Init() OVERRIDE; 66 virtual bool Init() OVERRIDE;
67 virtual int GetNextRoutingID() OVERRIDE; 67 virtual int GetNextRoutingID() OVERRIDE;
68 virtual void CancelResourceRequests(int render_widget_id) OVERRIDE; 68 virtual void CancelResourceRequests(int render_widget_id) OVERRIDE;
69 virtual void CrossSiteSwapOutACK(const ViewMsg_SwapOut_Params& params) 69 virtual void SimulateSwapOutACK(const ViewMsg_SwapOut_Params& params)
70 OVERRIDE; 70 OVERRIDE;
71 virtual bool WaitForBackingStoreMsg(int render_widget_id, 71 virtual bool WaitForBackingStoreMsg(int render_widget_id,
72 const base::TimeDelta& max_delay, 72 const base::TimeDelta& max_delay,
73 IPC::Message* msg) OVERRIDE; 73 IPC::Message* msg) OVERRIDE;
74 virtual void ReceivedBadMessage() OVERRIDE; 74 virtual void ReceivedBadMessage() OVERRIDE;
75 virtual void WidgetRestored() OVERRIDE; 75 virtual void WidgetRestored() OVERRIDE;
76 virtual void WidgetHidden() OVERRIDE; 76 virtual void WidgetHidden() OVERRIDE;
77 virtual int VisibleWidgetCount() const OVERRIDE; 77 virtual int VisibleWidgetCount() const OVERRIDE;
78 virtual bool IsGuest() const OVERRIDE; 78 virtual bool IsGuest() const OVERRIDE;
79 virtual bool FastShutdownIfPossible() OVERRIDE; 79 virtual bool FastShutdownIfPossible() OVERRIDE;
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 // Indicates whether this is a RenderProcessHost of a Browser Plugin guest 296 // Indicates whether this is a RenderProcessHost of a Browser Plugin guest
297 // renderer. 297 // renderer.
298 bool is_guest_; 298 bool is_guest_;
299 299
300 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 300 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
301 }; 301 };
302 302
303 } // namespace content 303 } // namespace content
304 304
305 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 305 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698