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

Unified Diff: content/common/gpu/client/gpu_channel_host.h

Issue 11362171: GPUChannel pools mailbox names. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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
Index: content/common/gpu/client/gpu_channel_host.h
===================================================================
--- content/common/gpu/client/gpu_channel_host.h (revision 166793)
+++ content/common/gpu/client/gpu_channel_host.h (working copy)
@@ -106,6 +106,7 @@
void set_gpu_info(const GPUInfo& gpu_info);
const GPUInfo& gpu_info() const;
+ void OnMessageReceived(const IPC::Message& message);
void OnChannelError();
// IPC::Sender implementation:
@@ -162,6 +163,9 @@
friend class base::RefCountedThreadSafe<GpuChannelHost>;
virtual ~GpuChannelHost();
+ // Message handlers.
+ void OnGenerateMailboxNamesReply(const std::vector<std::string>& names);
+
// A filter used internally to route incoming messages from the IO thread
// to the correct message loop.
class MessageFilter : public IPC::ChannelProxy::MessageFilter {
@@ -208,6 +212,9 @@
// A filter for sending messages from thread other than the main thread.
scoped_refptr<IPC::SyncMessageFilter> sync_filter_;
+ // A pool of valid mailbox names.
+ std::vector<std::string> mailbox_name_pool_;
+
DISALLOW_COPY_AND_ASSIGN(GpuChannelHost);
};
« no previous file with comments | « content/common/gpu/client/command_buffer_proxy_impl.h ('k') | content/common/gpu/client/gpu_channel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698