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

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

Issue 2686503004: Add IPC ParamTraits for c-style arrays (Closed)
Patch Set: feedback Created 3 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 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 497
498 IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::PPB_AudioEncodeParameters) 498 IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::PPB_AudioEncodeParameters)
499 IPC_STRUCT_TRAITS_MEMBER(channels) 499 IPC_STRUCT_TRAITS_MEMBER(channels)
500 IPC_STRUCT_TRAITS_MEMBER(input_sample_rate) 500 IPC_STRUCT_TRAITS_MEMBER(input_sample_rate)
501 IPC_STRUCT_TRAITS_MEMBER(input_sample_size) 501 IPC_STRUCT_TRAITS_MEMBER(input_sample_size)
502 IPC_STRUCT_TRAITS_MEMBER(output_profile) 502 IPC_STRUCT_TRAITS_MEMBER(output_profile)
503 IPC_STRUCT_TRAITS_MEMBER(initial_bitrate) 503 IPC_STRUCT_TRAITS_MEMBER(initial_bitrate)
504 IPC_STRUCT_TRAITS_MEMBER(acceleration) 504 IPC_STRUCT_TRAITS_MEMBER(acceleration)
505 IPC_STRUCT_TRAITS_END() 505 IPC_STRUCT_TRAITS_END()
506 506
507 IPC_STRUCT_TRAITS_BEGIN(ppapi::CompositorLayerData::Transform)
508 IPC_STRUCT_TRAITS_MEMBER(matrix)
509 IPC_STRUCT_TRAITS_END()
510
507 #if !defined(OS_NACL) && !defined(NACL_WIN64) 511 #if !defined(OS_NACL) && !defined(NACL_WIN64)
508 512
509 IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::PPPDecryptor_Buffer) 513 IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::PPPDecryptor_Buffer)
510 IPC_STRUCT_TRAITS_MEMBER(resource) 514 IPC_STRUCT_TRAITS_MEMBER(resource)
511 IPC_STRUCT_TRAITS_MEMBER(handle) 515 IPC_STRUCT_TRAITS_MEMBER(handle)
512 IPC_STRUCT_TRAITS_MEMBER(size) 516 IPC_STRUCT_TRAITS_MEMBER(size)
513 IPC_STRUCT_TRAITS_END() 517 IPC_STRUCT_TRAITS_END()
514 518
515 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 519 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
516 520
(...skipping 2009 matching lines...) Expand 10 before | Expand all | Expand 10 after
2526 uint32_t /* status */) 2530 uint32_t /* status */)
2527 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 2531 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
2528 uint32_t /* error */) 2532 uint32_t /* error */)
2529 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 2533 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
2530 uint32_t /* buffer */) 2534 uint32_t /* buffer */)
2531 2535
2532 // Sent by the PPAPI process to indicate that a field trial has been activated. 2536 // Sent by the PPAPI process to indicate that a field trial has been activated.
2533 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FieldTrialActivated, std::string /* name */) 2537 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FieldTrialActivated, std::string /* name */)
2534 2538
2535 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2539 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698