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

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

Issue 10834232: Revert 150491 - refactor EnumerateDevices to make it a persistent request. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 IPC_MESSAGE_ROUTED2(MediaStreamHostMsg_VideoDeviceFailed, 48 IPC_MESSAGE_ROUTED2(MediaStreamHostMsg_VideoDeviceFailed,
49 std::string /* label */, 49 std::string /* label */,
50 int /* index */) 50 int /* index */)
51 51
52 // Report of a failure of an audio device. 52 // Report of a failure of an audio device.
53 IPC_MESSAGE_ROUTED2(MediaStreamHostMsg_AudioDeviceFailed, 53 IPC_MESSAGE_ROUTED2(MediaStreamHostMsg_AudioDeviceFailed,
54 std::string /* label */, 54 std::string /* label */,
55 int /* index */) 55 int /* index */)
56 56
57 // The browser has enumerated devices successfully. 57 // The browser has enumerated devices successfully.
58 IPC_MESSAGE_ROUTED3(MediaStreamMsg_DevicesEnumerated, 58 IPC_MESSAGE_ROUTED2(MediaStreamMsg_DevicesEnumerated,
59 int /* request id */, 59 int /* request id */,
60 std::string /* label */,
61 media_stream::StreamDeviceInfoArray /* device_list */) 60 media_stream::StreamDeviceInfoArray /* device_list */)
62 61
63 // The browser has failed to enumerate devices. 62 // The browser has failed to enumerate devices.
64 IPC_MESSAGE_ROUTED1(MediaStreamMsg_DevicesEnumerationFailed, 63 IPC_MESSAGE_ROUTED1(MediaStreamMsg_DevicesEnumerationFailed,
65 int /* request id */) 64 int /* request id */)
66 65
67 // TODO(wjia): should DeviceOpen* messages be merged with 66 // TODO(wjia): should DeviceOpen* messages be merged with
68 // StreamGenerat* ones? 67 // StreamGenerat* ones?
69 // The browser has opened a device successfully. 68 // The browser has opened a device successfully.
70 IPC_MESSAGE_ROUTED3(MediaStreamMsg_DeviceOpened, 69 IPC_MESSAGE_ROUTED3(MediaStreamMsg_DeviceOpened,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 media_stream::MediaStreamType /* type */, 101 media_stream::MediaStreamType /* type */,
103 GURL /* security origin */) 102 GURL /* security origin */)
104 103
105 // Request to open the device. 104 // Request to open the device.
106 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_OpenDevice, 105 IPC_MESSAGE_CONTROL5(MediaStreamHostMsg_OpenDevice,
107 int /* render view id */, 106 int /* render view id */,
108 int /* request id */, 107 int /* request id */,
109 std::string /* device_id */, 108 std::string /* device_id */,
110 media_stream::MediaStreamType /* type */, 109 media_stream::MediaStreamType /* type */,
111 GURL /* security origin */) 110 GURL /* security origin */)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/media/media_stream_manager.cc ('k') | content/common/media/media_stream_options.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698