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

Side by Side Diff: content/common/media/media_stream_messages.h

Issue 364123002: [Cross-Site Isolation] Migrate entire MediaStream verticals to be per-RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: It's random enough. + REBASE Created 6 years, 5 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 | Annotate | Revision Log
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 // IPC messages for the media streaming. 5 // IPC messages for the media streaming.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 // Response to enumerate devices request. 99 // Response to enumerate devices request.
100 IPC_MESSAGE_CONTROL2(MediaStreamMsg_GetSourcesACK, 100 IPC_MESSAGE_CONTROL2(MediaStreamMsg_GetSourcesACK,
101 int /* request id */, 101 int /* request id */,
102 content::StreamDeviceInfoArray /* device_list */) 102 content::StreamDeviceInfoArray /* device_list */)
103 103
104 // Messages sent from the renderer to the browser. 104 // Messages sent from the renderer to the browser.
105 105
106 // Request a new media stream. 106 // Request a new media stream.
107 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_GenerateStream, 107 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_GenerateStream,
108 int /* render view id */, 108 int /* render frame id */,
109 int /* request id */, 109 int /* request id */,
110 content::StreamOptions /* components */, 110 content::StreamOptions /* components */,
111 GURL /* security origin */, 111 GURL /* security origin */,
112 bool /* user_gesture */) 112 bool /* user_gesture */)
113 113
114 // Request to cancel the request for a new media stream. 114 // Request to cancel the request for a new media stream.
115 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CancelGenerateStream, 115 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CancelGenerateStream,
116 int /* render view id */, 116 int /* render frame id */,
117 int /* request id */) 117 int /* request id */)
118 118
119 // Request to close a device that has been opened by GenerateStream. 119 // Request to close a device that has been opened by GenerateStream.
120 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_StopStreamDevice, 120 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_StopStreamDevice,
121 int /* render view id */, 121 int /* render frame id */,
122 std::string /*device_id*/) 122 std::string /*device_id*/)
123 123
124 // Request to enumerate devices. 124 // Request to enumerate devices.
125 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_GetSources, 125 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_GetSources,
126 int /* request id */, 126 int /* request id */,
127 GURL /* origin */) 127 GURL /* origin */)
128 128
129 // Request to enumerate devices. 129 // Request to enumerate devices.
130 // Used by Pepper and WebRTC. 130 // Used by Pepper and WebRTC.
131 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_EnumerateDevices, 131 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_EnumerateDevices,
132 int /* render view id */, 132 int /* render frame id */,
133 int /* request id */, 133 int /* request id */,
134 content::MediaStreamType /* type */, 134 content::MediaStreamType /* type */,
135 GURL /* security origin */, 135 GURL /* security origin */,
136 bool /* hide_labels_if_no_access */) 136 bool /* hide_labels_if_no_access */)
137 137
138 // Request to stop enumerating devices. 138 // Request to stop enumerating devices.
139 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CancelEnumerateDevices, 139 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CancelEnumerateDevices,
140 int /* render view id */, 140 int /* render frame id */,
141 int /* request id */) 141 int /* request id */)
142 142
143 // Request to open the device. 143 // Request to open the device.
144 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_OpenDevice, 144 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_OpenDevice,
145 int /* render view id */, 145 int /* render frame id */,
146 int /* request id */, 146 int /* request id */,
147 std::string /* device_id */, 147 std::string /* device_id */,
148 content::MediaStreamType /* type */, 148 content::MediaStreamType /* type */,
149 GURL /* security origin */) 149 GURL /* security origin */)
150 150
151 // Request to close a device. 151 // Request to close a device.
152 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice, 152 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice,
153 int /* render view id */, 153 int /* render frame id */,
154 std::string /*label*/) 154 std::string /*label*/)
OLDNEW
« no previous file with comments | « content/browser/speech/speech_recognition_manager_impl.cc ('k') | content/common/media/media_stream_options.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698