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

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: something wrong with 'git cl upload'. upload again 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 1689 matching lines...) Expand 10 before | Expand all | Expand 10 after
1700 1700
1701 // Unsolicited reply message to notify that the connection is closed without 1701 // Unsolicited reply message to notify that the connection is closed without
1702 // any WebSocket_Close request. Server initiated closing handshake or 1702 // any WebSocket_Close request. Server initiated closing handshake or
1703 // unexpected network errors will invoke this message. 1703 // unexpected network errors will invoke this message.
1704 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_WebSocket_ClosedReply, 1704 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_WebSocket_ClosedReply,
1705 uint64_t /* buffered_amount */, 1705 uint64_t /* buffered_amount */,
1706 bool /* was_clean */, 1706 bool /* was_clean */,
1707 uint16_t /* code */, 1707 uint16_t /* code */,
1708 std::string /* reason */) 1708 std::string /* reason */)
1709 1709
1710 // OutputProtection -----------------------------------------------------------
1711
1712 IPC_MESSAGE_CONTROL0(PpapiHostMsg_OutputProtection_Create)
1713 IPC_MESSAGE_CONTROL1(PpapiHostMsg_OutputProtection_EnableProtection,
1714 uint32_t /* desired_method_mask */)
1715 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_OutputProtection_EnableProtectionReply)
1716 IPC_MESSAGE_CONTROL0(PpapiHostMsg_OutputProtection_QueryStatus)
1717 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_OutputProtection_QueryStatusReply,
1718 uint32_t /* link_mask */,
1719 uint32_t /* protection_mask */)
1720
1710 #if !defined(OS_NACL) && !defined(NACL_WIN64) 1721 #if !defined(OS_NACL) && !defined(NACL_WIN64)
1711 1722
1712 // Audio input. 1723 // Audio input.
1713 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Create) 1724 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Create)
1714 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open, 1725 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open,
1715 std::string /* device_id */, 1726 std::string /* device_id */,
1716 PP_AudioSampleRate /* sample_rate */, 1727 PP_AudioSampleRate /* sample_rate */,
1717 uint32_t /* sample_frame_count */) 1728 uint32_t /* sample_frame_count */)
1718 // Reply to an Open call. This supplies a socket handle and a shared memory 1729 // Reply to an Open call. This supplies a socket handle and a shared memory
1719 // handle. Both handles are passed in the ReplyParams struct. 1730 // handle. Both handles are passed in the ReplyParams struct.
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
1957 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 1968 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
1958 PP_TalkPermission /* permission */) 1969 PP_TalkPermission /* permission */)
1959 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 1970 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
1960 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 1971 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
1961 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 1972 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
1962 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 1973 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
1963 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 1974 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
1964 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 1975 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
1965 1976
1966 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1977 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698