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

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

Issue 2532473003: Remove old media-device enumeration IPC message (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 IPC_MESSAGE_ROUTED2(MediaStreamMsg_StreamGenerationFailed, 70 IPC_MESSAGE_ROUTED2(MediaStreamMsg_StreamGenerationFailed,
71 int /* request id */, 71 int /* request id */,
72 content::MediaStreamRequestResult /* result */) 72 content::MediaStreamRequestResult /* result */)
73 73
74 // The browser reports that a media device has been stopped. Stopping was 74 // The browser reports that a media device has been stopped. Stopping was
75 // triggered from the browser process. 75 // triggered from the browser process.
76 IPC_MESSAGE_ROUTED2(MediaStreamMsg_DeviceStopped, 76 IPC_MESSAGE_ROUTED2(MediaStreamMsg_DeviceStopped,
77 std::string /* label */, 77 std::string /* label */,
78 content::StreamDeviceInfo /* the device */) 78 content::StreamDeviceInfo /* the device */)
79 79
80 // The browser has enumerated devices. If no devices are found
81 // |device_list| is empty.
82 // Used by Pepper and WebRTC.
83 IPC_MESSAGE_ROUTED2(MediaStreamMsg_DevicesEnumerated,
84 int /* request id */,
85 content::StreamDeviceInfoArray /* device_list */)
86
87 // TODO(wjia): should DeviceOpen* messages be merged with 80 // TODO(wjia): should DeviceOpen* messages be merged with
88 // StreamGenerat* ones? 81 // StreamGenerat* ones?
89 // The browser has opened a device successfully. 82 // The browser has opened a device successfully.
90 IPC_MESSAGE_ROUTED3(MediaStreamMsg_DeviceOpened, 83 IPC_MESSAGE_ROUTED3(MediaStreamMsg_DeviceOpened,
91 int /* request id */, 84 int /* request id */,
92 std::string /* label */, 85 std::string /* label */,
93 content::StreamDeviceInfo /* the device */) 86 content::StreamDeviceInfo /* the device */)
94 87
95 // The browser has failed to open a device. 88 // The browser has failed to open a device.
96 IPC_MESSAGE_ROUTED1(MediaStreamMsg_DeviceOpenFailed, 89 IPC_MESSAGE_ROUTED1(MediaStreamMsg_DeviceOpenFailed,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // connected video sinks meet the requirement of output protection.). 126 // connected video sinks meet the requirement of output protection.).
134 // Note: the browser process only trusts the |is_sucure| value in this IPC 127 // Note: the browser process only trusts the |is_sucure| value in this IPC
135 // message if it's comimg from a trusted, whitelisted extension. Extensions run 128 // message if it's comimg from a trusted, whitelisted extension. Extensions run
136 // in separate render processes. So it shouldn't be possible, for example, for 129 // in separate render processes. So it shouldn't be possible, for example, for
137 // a user's visit to a malicious web page to compromise a render process running 130 // a user's visit to a malicious web page to compromise a render process running
138 // a trusted extension to make it report falsehood in this IPC message. 131 // a trusted extension to make it report falsehood in this IPC message.
139 IPC_MESSAGE_CONTROL3(MediaStreamHostMsg_SetCapturingLinkSecured, 132 IPC_MESSAGE_CONTROL3(MediaStreamHostMsg_SetCapturingLinkSecured,
140 int, /* session_id */ 133 int, /* session_id */
141 content::MediaStreamType, /* type */ 134 content::MediaStreamType, /* type */
142 bool /* is_secure */) 135 bool /* is_secure */)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698