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

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

Issue 1665363002: Clang plugin to check that unstable types are not used in IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Blacklist types instead Created 4 years, 10 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
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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 483
484 // These are from the browser to the plugin. 484 // These are from the browser to the plugin.
485 // Loads the given plugin. 485 // Loads the given plugin.
486 IPC_MESSAGE_CONTROL2(PpapiMsg_LoadPlugin, 486 IPC_MESSAGE_CONTROL2(PpapiMsg_LoadPlugin,
487 base::FilePath /* path */, 487 base::FilePath /* path */,
488 ppapi::PpapiPermissions /* permissions */) 488 ppapi::PpapiPermissions /* permissions */)
489 489
490 // Creates a channel to talk to a renderer. The plugin will respond with 490 // Creates a channel to talk to a renderer. The plugin will respond with
491 // PpapiHostMsg_ChannelCreated. 491 // PpapiHostMsg_ChannelCreated.
492 IPC_MESSAGE_CONTROL3(PpapiMsg_CreateChannel, 492 IPC_MESSAGE_CONTROL3(PpapiMsg_CreateChannel,
493 base::ProcessId /* renderer_pid */, 493 int32_t /* renderer_pid */,
jam 2016/02/18 21:04:49 no need to change right?
494 int /* renderer_child_id */, 494 int /* renderer_child_id */,
495 bool /* incognito */) 495 bool /* incognito */)
496 496
497 // Initializes the IPC dispatchers in the NaCl plugin. 497 // Initializes the IPC dispatchers in the NaCl plugin.
498 IPC_MESSAGE_CONTROL1(PpapiMsg_InitializeNaClDispatcher, 498 IPC_MESSAGE_CONTROL1(PpapiMsg_InitializeNaClDispatcher,
499 ppapi::PpapiNaClPluginArgs /* args */) 499 ppapi::PpapiNaClPluginArgs /* args */)
500 500
501 // Instructs the plugin process to crash. 501 // Instructs the plugin process to crash.
502 IPC_MESSAGE_CONTROL0(PpapiMsg_Crash) 502 IPC_MESSAGE_CONTROL0(PpapiMsg_Crash)
503 503
(...skipping 1926 matching lines...) Expand 10 before | Expand all | Expand 10 after
2430 std::vector<ppapi::HostResource> /* buffers */, 2430 std::vector<ppapi::HostResource> /* buffers */,
2431 uint32_t /* buffer_size */) 2431 uint32_t /* buffer_size */)
2432 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 2432 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
2433 uint32_t /* status */) 2433 uint32_t /* status */)
2434 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 2434 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
2435 uint32_t /* error */) 2435 uint32_t /* error */)
2436 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 2436 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
2437 uint32_t /* buffer */) 2437 uint32_t /* buffer */)
2438 2438
2439 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2439 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698