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

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: revise output configurator related code. rebased. 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 1681 matching lines...) Expand 10 before | Expand all | Expand 10 after
1692 1692
1693 // Unsolicited reply message to notify that the connection is closed without 1693 // Unsolicited reply message to notify that the connection is closed without
1694 // any WebSocket_Close request. Server initiated closing handshake or 1694 // any WebSocket_Close request. Server initiated closing handshake or
1695 // unexpected network errors will invoke this message. 1695 // unexpected network errors will invoke this message.
1696 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_WebSocket_ClosedReply, 1696 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_WebSocket_ClosedReply,
1697 uint64_t /* buffered_amount */, 1697 uint64_t /* buffered_amount */,
1698 bool /* was_clean */, 1698 bool /* was_clean */,
1699 uint16_t /* code */, 1699 uint16_t /* code */,
1700 std::string /* reason */) 1700 std::string /* reason */)
1701 1701
1702 // OutputProtection -----------------------------------------------------------
1703
1704 IPC_MESSAGE_CONTROL0(PpapiHostMsg_OutputProtection_Create)
1705 IPC_MESSAGE_CONTROL1(PpapiHostMsg_OutputProtection_EnableProtection,
1706 uint32_t /* desired_method_mask */)
1707 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_OutputProtection_EnableProtectionReply)
1708 IPC_MESSAGE_CONTROL0(PpapiHostMsg_OutputProtection_QueryStatus)
1709 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_OutputProtection_QueryStatusReply,
1710 uint32_t /* link_mask */,
1711 uint32_t /* protection_mask */)
1712
1702 #if !defined(OS_NACL) && !defined(NACL_WIN64) 1713 #if !defined(OS_NACL) && !defined(NACL_WIN64)
1703 1714
1704 // Audio input. 1715 // Audio input.
1705 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Create) 1716 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioInput_Create)
1706 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open, 1717 IPC_MESSAGE_CONTROL3(PpapiHostMsg_AudioInput_Open,
1707 std::string /* device_id */, 1718 std::string /* device_id */,
1708 PP_AudioSampleRate /* sample_rate */, 1719 PP_AudioSampleRate /* sample_rate */,
1709 uint32_t /* sample_frame_count */) 1720 uint32_t /* sample_frame_count */)
1710 // Reply to an Open call. This supplies a socket handle and a shared memory 1721 // Reply to an Open call. This supplies a socket handle and a shared memory
1711 // handle. Both handles are passed in the ReplyParams struct. 1722 // handle. Both handles are passed in the ReplyParams struct.
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
1949 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 1960 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
1950 PP_TalkPermission /* permission */) 1961 PP_TalkPermission /* permission */)
1951 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 1962 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
1952 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 1963 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
1953 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 1964 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
1954 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 1965 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
1955 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 1966 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
1956 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 1967 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
1957 1968
1958 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1969 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698