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

Unified Diff: chrome/browser/gpu_process_host.h

Issue 4884002: Fixed a hang in the renderer process. If the renderer process requests for a ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/gpu_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gpu_process_host.h
===================================================================
--- chrome/browser/gpu_process_host.h (revision 65947)
+++ chrome/browser/gpu_process_host.h (working copy)
@@ -50,7 +50,8 @@
// Return the stored gpu_info as this class the
// browser's point of contact with the gpu
- GPUInfo gpu_info() const;
+ const GPUInfo& gpu_info() const;
+
private:
// Used to queue pending channel requests.
struct ChannelRequest {
@@ -99,9 +100,13 @@
uint64 surface_id);
#endif
- void ReplyToRenderer(const IPC::ChannelHandle& channel,
- const GPUInfo& gpu_info,
- ResourceMessageFilter* filter);
+ // Sends the response for establish channel request to the renderer.
+ void SendEstablishChannelReply(const IPC::ChannelHandle& channel,
+ const GPUInfo& gpu_info,
+ ResourceMessageFilter* filter);
+ // Sends the response for synchronization request to the renderer.
+ void SendSynchronizationReply(IPC::Message* reply,
+ ResourceMessageFilter* filter);
// ResourceDispatcherHost::Receiver implementation:
virtual URLRequestContext* GetRequestContext(
@@ -109,6 +114,7 @@
const ViewHostMsg_Resource_Request& request_data);
virtual bool CanShutdown();
+ virtual void OnProcessCrashed();
bool initialized_;
bool initialized_successfully_;
« no previous file with comments | « no previous file | chrome/browser/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698