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

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: Rebase 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 view 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
130 // Request to enumerate devices. 129 // Request to enumerate devices.
131 // Used by Pepper. 130 // Used by Pepper and WebRTC.
132 // TODO(vrk,wjia): Move this to pepper code. 131 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_EnumerateDevices,
133 IPC_MESSAGE_CONTROL4(MediaStreamHostMsg_EnumerateDevices,
134 int /* render view id */, 132 int /* render view id */,
135 int /* request id */, 133 int /* request id */,
136 content::MediaStreamType /* type */, 134 content::MediaStreamType /* type */,
137 GURL /* security origin */) 135 GURL /* security origin */,
136 bool /* hide_labels_if_no_access */)
138 137
139 // Request to stop enumerating devices. 138 // Request to stop enumerating devices.
140 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CancelEnumerateDevices, 139 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CancelEnumerateDevices,
141 int /* render view id */, 140 int /* render view id */,
142 int /* request id */) 141 int /* request id */)
143 142
144 // Request to open the device. 143 // Request to open the device.
145 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_OpenDevice, 144 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_OpenDevice,
146 int /* render view id */, 145 int /* render view id */,
147 int /* request id */, 146 int /* request id */,
148 std::string /* device_id */, 147 std::string /* device_id */,
149 content::MediaStreamType /* type */, 148 content::MediaStreamType /* type */,
150 GURL /* security origin */) 149 GURL /* security origin */)
151 150
152 // Request to close a device. 151 // Request to close a device.
153 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice, 152 IPC_MESSAGE_CONTROL2(MediaStreamHostMsg_CloseDevice,
154 int /* render view id */, 153 int /* render view id */,
155 std::string /*label*/) 154 std::string /*label*/)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698