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

Unified Diff: content/common/browser_plugin/browser_plugin_messages.h

Issue 12440005: Use gpu::Mailbox in IPCs instead of std::string (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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 | « content/browser/renderer_host/render_widget_host_view_aura.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/browser_plugin/browser_plugin_messages.h
diff --git a/content/common/browser_plugin/browser_plugin_messages.h b/content/common/browser_plugin/browser_plugin_messages.h
index 66b2c8f140d67be4ed82dbf70f62c2a9c63d6ad3..b35f99ec9ca47cf0da0c36f542a01d4099f76493 100644
--- a/content/common/browser_plugin/browser_plugin_messages.h
+++ b/content/common/browser_plugin/browser_plugin_messages.h
@@ -14,6 +14,7 @@
#include "content/common/content_export.h"
#include "content/common/content_param_traits.h"
#include "content/public/common/common_param_traits.h"
+#include "gpu/command_buffer/common/mailbox.h"
#include "ipc/ipc_channel_handle.h"
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_message_utils.h"
@@ -207,7 +208,7 @@ IPC_MESSAGE_ROUTED5(BrowserPluginHostMsg_BuffersSwappedACK,
int /* instance_id */,
int /* route_id */,
int /* gpu_host_id */,
- std::string /* mailbox_name */,
+ gpu::Mailbox /* mailbox_name */,
uint32 /* sync_point */)
// When a BrowserPlugin has been removed from the embedder's DOM, it informs
@@ -384,7 +385,7 @@ IPC_MESSAGE_CONTROL2(BrowserPluginMsg_UpdatedName,
IPC_MESSAGE_CONTROL5(BrowserPluginMsg_BuffersSwapped,
int /* instance_id */,
gfx::Size /* size */,
- std::string /* mailbox_name */,
+ gpu::Mailbox /* mailbox_name */,
int /* route_id */,
int /* gpu_host_id */)
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | content/common/gpu/gpu_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698