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

Unified Diff: content/browser/gpu/gpu_process_host.h

Issue 7129006: Make EstablishGpuChannel synchronous. Remove obsolete Synchronize msg. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fix indentation and rebase Created 9 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_process_host.h
diff --git a/content/browser/gpu/gpu_process_host.h b/content/browser/gpu/gpu_process_host.h
index 47f88fbb32929db7affff1e1500c7fbc37843c4d..93fd31180cf6c9ae392bc2457802b45829ae0bbc 100644
--- a/content/browser/gpu/gpu_process_host.h
+++ b/content/browser/gpu/gpu_process_host.h
@@ -66,12 +66,6 @@ class GpuProcessHost : public BrowserChildProcessHost,
void EstablishGpuChannel(
int renderer_id, EstablishChannelCallback* callback);
- typedef Callback0::Type SynchronizeCallback;
-
- // Sends a reply message later when the next GpuHostMsg_SynchronizeReply comes
- // in.
- void Synchronize(SynchronizeCallback* callback);
-
typedef Callback1<int32>::Type CreateCommandBufferCallback;
// Tells the GPU process to create a new command buffer that draws into the
@@ -99,7 +93,6 @@ class GpuProcessHost : public BrowserChildProcessHost,
// Message handlers.
void OnChannelEstablished(const IPC::ChannelHandle& channel_handle);
- void OnSynchronizeReply();
void OnCommandBufferCreated(const int32 route_id);
void OnDestroyCommandBuffer(
gfx::PluginWindowHandle window, int32 renderer_id, int32 render_view_id);
@@ -115,7 +108,6 @@ class GpuProcessHost : public BrowserChildProcessHost,
const GPUInfo& gpu_info);
void CreateCommandBufferError(CreateCommandBufferCallback* callback,
int32 route_id);
- void SynchronizeError(SynchronizeCallback* callback);
// The serial number of the GpuProcessHost / GpuProcessHostUIShim pair.
int host_id_;
@@ -124,9 +116,6 @@ class GpuProcessHost : public BrowserChildProcessHost,
// the GPU process, but haven't heard back about yet.
std::queue<linked_ptr<EstablishChannelCallback> > channel_requests_;
- // The pending synchronization requests we need to reply to.
- std::queue<linked_ptr<SynchronizeCallback> > synchronize_requests_;
-
// The pending create command buffer requests we need to reply to.
std::queue<linked_ptr<CreateCommandBufferCallback> >
create_command_buffer_requests_;
« no previous file with comments | « no previous file | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698