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

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 2069853002: Ignore certain messages in plugin broker process if they are not sent by the (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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 unified diff | Download patch
« no previous file with comments | « content/ppapi_plugin/ppapi_thread.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 515 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
516 516
517 // These are from the browser to the plugin. 517 // These are from the browser to the plugin.
518 // Loads the given plugin. 518 // Loads the given plugin.
519 IPC_MESSAGE_CONTROL2(PpapiMsg_LoadPlugin, 519 IPC_MESSAGE_CONTROL2(PpapiMsg_LoadPlugin,
520 base::FilePath /* path */, 520 base::FilePath /* path */,
521 ppapi::PpapiPermissions /* permissions */) 521 ppapi::PpapiPermissions /* permissions */)
522 522
523 // Creates a channel to talk to a renderer. The plugin will respond with 523 // Creates a channel to talk to a renderer. The plugin will respond with
524 // PpapiHostMsg_ChannelCreated. 524 // PpapiHostMsg_ChannelCreated.
525 // If |renderer_pid| is base::kNullProcessId, this is a channel used by the
526 // browser itself.
525 IPC_MESSAGE_CONTROL3(PpapiMsg_CreateChannel, 527 IPC_MESSAGE_CONTROL3(PpapiMsg_CreateChannel,
526 base::ProcessId /* renderer_pid */, 528 base::ProcessId /* renderer_pid */,
527 int /* renderer_child_id */, 529 int /* renderer_child_id */,
528 bool /* incognito */) 530 bool /* incognito */)
529 531
530 // Initializes the IPC dispatchers in the NaCl plugin. 532 // Initializes the IPC dispatchers in the NaCl plugin.
531 IPC_MESSAGE_CONTROL1(PpapiMsg_InitializeNaClDispatcher, 533 IPC_MESSAGE_CONTROL1(PpapiMsg_InitializeNaClDispatcher,
532 ppapi::PpapiNaClPluginArgs /* args */) 534 ppapi::PpapiNaClPluginArgs /* args */)
533 535
534 // Instructs the plugin process to crash. 536 // Instructs the plugin process to crash.
(...skipping 1957 matching lines...) Expand 10 before | Expand all | Expand 10 after
2492 std::vector<ppapi::HostResource> /* buffers */, 2494 std::vector<ppapi::HostResource> /* buffers */,
2493 uint32_t /* buffer_size */) 2495 uint32_t /* buffer_size */)
2494 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 2496 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
2495 uint32_t /* status */) 2497 uint32_t /* status */)
2496 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 2498 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
2497 uint32_t /* error */) 2499 uint32_t /* error */)
2498 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 2500 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
2499 uint32_t /* buffer */) 2501 uint32_t /* buffer */)
2500 2502
2501 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2503 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « content/ppapi_plugin/ppapi_thread.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698