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

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: fix build for non-chromeos Created 7 years, 2 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 | « ppapi/proxy/output_protection_resource.cc ('k') | ppapi/proxy/resource_creation_proxy.h » ('j') | 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 #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 1684 matching lines...) Expand 10 before | Expand all | Expand 10 after
1695 1695
1696 // Unsolicited reply message to notify that the connection is closed without 1696 // Unsolicited reply message to notify that the connection is closed without
1697 // any WebSocket_Close request. Server initiated closing handshake or 1697 // any WebSocket_Close request. Server initiated closing handshake or
1698 // unexpected network errors will invoke this message. 1698 // unexpected network errors will invoke this message.
1699 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_WebSocket_ClosedReply, 1699 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_WebSocket_ClosedReply,
1700 uint64_t /* buffered_amount */, 1700 uint64_t /* buffered_amount */,
1701 bool /* was_clean */, 1701 bool /* was_clean */,
1702 uint16_t /* code */, 1702 uint16_t /* code */,
1703 std::string /* reason */) 1703 std::string /* reason */)
1704 1704
1705 // OutputProtection -----------------------------------------------------------
1706
1707 IPC_MESSAGE_CONTROL0(PpapiHostMsg_OutputProtection_Create)
1708 IPC_MESSAGE_CONTROL1(PpapiHostMsg_OutputProtection_EnableProtection,
1709 uint32_t /* desired_method_mask */)
1710 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_OutputProtection_EnableProtectionReply)
1711 IPC_MESSAGE_CONTROL0(PpapiHostMsg_OutputProtection_QueryStatus)
1712 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_OutputProtection_QueryStatusReply,
1713 uint32_t /* link_mask */,
1714 uint32_t /* protection_mask */)
1715
1705 #if !defined(OS_NACL) && !defined(NACL_WIN64) 1716 #if !defined(OS_NACL) && !defined(NACL_WIN64)
1706 1717
1707 // Audio input. 1718 // Audio input.
1708 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Create) 1719 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Create)
1709 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open, 1720 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open,
1710 std::string /* device_id */, 1721 std::string /* device_id */,
1711 PP_AudioSampleRate /* sample_rate */, 1722 PP_AudioSampleRate /* sample_rate */,
1712 uint32_t /* sample_frame_count */) 1723 uint32_t /* sample_frame_count */)
1713 // Reply to an Open call. This supplies a socket handle and a shared memory 1724 // Reply to an Open call. This supplies a socket handle and a shared memory
1714 // handle. Both handles are passed in the ReplyParams struct. 1725 // handle. Both handles are passed in the ReplyParams struct.
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
1952 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 1963 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
1953 PP_TalkPermission /* permission */) 1964 PP_TalkPermission /* permission */)
1954 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 1965 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
1955 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 1966 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
1956 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 1967 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
1957 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 1968 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
1958 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 1969 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
1959 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 1970 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
1960 1971
1961 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1972 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « ppapi/proxy/output_protection_resource.cc ('k') | ppapi/proxy/resource_creation_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698