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

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

Issue 323313003: Add flag in device enumeration request to control label clearing and don't clear for pepper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // Request to close a device that has been opened by GenerateStream. 128 // Request to close a device that has been opened by GenerateStream.
129 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_StopStreamDevice, 129 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_StopStreamDevice,
130 int /* render view id */, 130 int /* render view id */,
131 std::string /*device_id*/) 131 std::string /*device_id*/)
132 132
133 // Request to enumerate devices. 133 // Request to enumerate devices.
134 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_GetSources, 134 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_GetSources,
135 int /* request id */, 135 int /* request id */,
136 GURL /* origin */) 136 GURL /* origin */)
137 137
138
139 // Request to enumerate devices. 138 // Request to enumerate devices.
140 // Used by Pepper. 139 // Used by Pepper and WebRTC.
141 // TODO(vrk,wjia): Move this to pepper code. 140 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_EnumerateDevices,
142 IPC_MESSAGE_CONTROL4(MediaStreamHostMsg_EnumerateDevices,
143 int /* render view id */, 141 int /* render view id */,
144 int /* request id */, 142 int /* request id */,
145 content::MediaStreamType /* type */, 143 content::MediaStreamType /* type */,
146 GURL /* security origin */) 144 GURL /* security origin */,
145 bool /* hide_labels_if_no_access */)
147 146
148 // Request to stop enumerating devices. 147 // Request to stop enumerating devices.
149 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CancelEnumerateDevices, 148 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CancelEnumerateDevices,
150 int /* render view id */, 149 int /* render view id */,
151 int /* request id */) 150 int /* request id */)
152 151
153 // Request to open the device. 152 // Request to open the device.
154 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_OpenDevice, 153 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_OpenDevice,
155 int /* render view id */, 154 int /* render view id */,
156 int /* request id */, 155 int /* request id */,
157 std::string /* device_id */, 156 std::string /* device_id */,
158 content::MediaStreamType /* type */, 157 content::MediaStreamType /* type */,
159 GURL /* security origin */) 158 GURL /* security origin */)
160 159
161 // Request to close a device. 160 // Request to close a device.
162 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice, 161 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice,
163 int /* render view id */, 162 int /* render view id */,
164 std::string /*label*/) 163 std::string /*label*/)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698