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

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

Issue 24039002: Pepper API implementation for output protection. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: avoid PostTask methods in dtor Created 7 years, 3 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 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 1729 matching lines...) Expand 10 before | Expand all | Expand 10 after
1740 1740
1741 // Unsolicited reply message to notify that the connection is closed without 1741 // Unsolicited reply message to notify that the connection is closed without
1742 // any WebSocket_Close request. Server initiated closing handshake or 1742 // any WebSocket_Close request. Server initiated closing handshake or
1743 // unexpected network errors will invoke this message. 1743 // unexpected network errors will invoke this message.
1744 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_WebSocket_ClosedReply, 1744 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_WebSocket_ClosedReply,
1745 uint64_t /* buffered_amount */, 1745 uint64_t /* buffered_amount */,
1746 bool /* was_clean */, 1746 bool /* was_clean */,
1747 uint16_t /* code */, 1747 uint16_t /* code */,
1748 std::string /* reason */) 1748 std::string /* reason */)
1749 1749
1750 // OutputProtection -----------------------------------------------------------
1751
1752 IPC_MESSAGE_CONTROL0(PpapiHostMsg_OutputProtection_Create)
1753 IPC_MESSAGE_CONTROL1(PpapiHostMsg_OutputProtection_EnableProtection,
1754 uint32_t /* desired_method_mask */)
1755 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_OutputProtection_EnableProtectionReply)
1756 IPC_MESSAGE_CONTROL0(PpapiHostMsg_OutputProtection_QueryStatus)
1757 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_OutputProtection_QueryStatusReply,
1758 uint32_t /* link_mas */,
dmichael (off chromium) 2013/09/09 20:37:15 mas->mask
kcwu 2013/09/10 12:50:21 Done.
1759 uint32_t /* protection_mask */)
1760
1750 #if !defined(OS_NACL) && !defined(NACL_WIN64) 1761 #if !defined(OS_NACL) && !defined(NACL_WIN64)
1751 1762
1752 // Audio input. 1763 // Audio input.
1753 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Create) 1764 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Create)
1754 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open, 1765 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open,
1755 std::string /* device_id */, 1766 std::string /* device_id */,
1756 PP_AudioSampleRate /* sample_rate */, 1767 PP_AudioSampleRate /* sample_rate */,
1757 uint32_t /* sample_frame_count */) 1768 uint32_t /* sample_frame_count */)
1758 // Reply to an Open call. This supplies a socket handle and a shared memory 1769 // Reply to an Open call. This supplies a socket handle and a shared memory
1759 // handle. Both handles are passed in the ReplyParams struct. 1770 // handle. Both handles are passed in the ReplyParams struct.
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
2021 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 2032 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
2022 PP_TalkPermission /* permission */) 2033 PP_TalkPermission /* permission */)
2023 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 2034 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
2024 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 2035 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
2025 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 2036 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
2026 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 2037 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
2027 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 2038 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
2028 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 2039 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
2029 2040
2030 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2041 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698