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

Unified Diff: content/common/gpu/gpu_channel.cc

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
« no previous file with comments | « content/common/gpu/client/gpu_channel_host.cc ('k') | content/common/gpu/gpu_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel.cc
===================================================================
--- content/common/gpu/gpu_channel.cc (revision 166793)
+++ content/common/gpu/gpu_channel.cc (working copy)
@@ -172,6 +172,8 @@
IPC_BEGIN_MESSAGE_MAP(MailboxMessageFilter, message)
IPC_MESSAGE_HANDLER(GpuChannelMsg_GenerateMailboxNames,
OnGenerateMailboxNames)
+ IPC_MESSAGE_HANDLER(GpuChannelMsg_GenerateMailboxNamesAsync,
+ OnGenerateMailboxNamesAsync)
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
@@ -206,6 +208,12 @@
}
}
+ void OnGenerateMailboxNamesAsync(unsigned num) {
+ std::vector<std::string> names;
+ OnGenerateMailboxNames(num, &names);
+ Send(new GpuChannelMsg_GenerateMailboxNamesReply(names));
+ }
+
IPC::Channel* channel_;
crypto::HMAC hmac_;
};
« no previous file with comments | « content/common/gpu/client/gpu_channel_host.cc ('k') | content/common/gpu/gpu_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698