| OLD | NEW |
| 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 #ifndef CONTENT_COMMON_MEDIA_MEDIA_STREAM_MESSAGES_H_ |
| 6 #define CONTENT_COMMON_MEDIA_MEDIA_STREAM_MESSAGES_H_ |
| 7 |
| 5 // IPC messages for the media streaming. | 8 // IPC messages for the media streaming. |
| 6 // Multiply-included message file, hence no include guard. | 9 // Multiply-included message file, hence no include guard. |
| 7 | 10 |
| 8 #include <string> | 11 #include <string> |
| 9 | 12 |
| 10 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
| 11 #include "content/common/media/media_stream_options.h" | 14 #include "content/common/media/media_stream_options.h" |
| 12 #include "ipc/ipc_message_macros.h" | 15 #include "ipc/ipc_message_macros.h" |
| 13 #include "ipc/ipc_platform_file.h" | 16 #include "ipc/ipc_platform_file.h" |
| 14 #include "url/origin.h" | 17 #include "url/origin.h" |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 // in separate render processes. So it shouldn't be possible, for example, for | 132 // in separate render processes. So it shouldn't be possible, for example, for |
| 130 // a user's visit to a malicious web page to compromise a render process running | 133 // a user's visit to a malicious web page to compromise a render process running |
| 131 // a trusted extension to make it report falsehood in this IPC message. | 134 // a trusted extension to make it report falsehood in this IPC message. |
| 132 IPC_MESSAGE_CONTROL3(MediaStreamHostMsg_SetCapturingLinkSecured, | 135 IPC_MESSAGE_CONTROL3(MediaStreamHostMsg_SetCapturingLinkSecured, |
| 133 int, /* session_id */ | 136 int, /* session_id */ |
| 134 content::MediaStreamType, /* type */ | 137 content::MediaStreamType, /* type */ |
| 135 bool /* is_secure */) | 138 bool /* is_secure */) |
| 136 | 139 |
| 137 // Tell the browser process that the stream has been started successfully. | 140 // Tell the browser process that the stream has been started successfully. |
| 138 IPC_MESSAGE_CONTROL1(MediaStreamHostMsg_StreamStarted, std::string /* label */) | 141 IPC_MESSAGE_CONTROL1(MediaStreamHostMsg_StreamStarted, std::string /* label */) |
| 142 |
| 143 #endif // CONTENT_COMMON_MEDIA_MEDIA_STREAM_MESSAGES_H_ |
| OLD | NEW |