| OLD | NEW |
| 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 #include "content/public/common/media_stream_request.h" | 5 #include "content/public/common/media_stream_request.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 namespace content { | 9 namespace content { |
| 10 | 10 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 name(name), | 55 name(name), |
| 56 input(sample_rate, channel_layout, frames_per_buffer) { | 56 input(sample_rate, channel_layout, frames_per_buffer) { |
| 57 } | 57 } |
| 58 | 58 |
| 59 MediaStreamDevice::~MediaStreamDevice() {} | 59 MediaStreamDevice::~MediaStreamDevice() {} |
| 60 | 60 |
| 61 MediaStreamRequest::MediaStreamRequest( | 61 MediaStreamRequest::MediaStreamRequest( |
| 62 int render_process_id, | 62 int render_process_id, |
| 63 int render_view_id, | 63 int render_view_id, |
| 64 int page_request_id, | 64 int page_request_id, |
| 65 const std::string& tab_capture_device_id, |
| 65 const GURL& security_origin, | 66 const GURL& security_origin, |
| 66 MediaStreamRequestType request_type, | 67 MediaStreamRequestType request_type, |
| 67 const std::string& requested_audio_device_id, | 68 const std::string& requested_audio_device_id, |
| 68 const std::string& requested_video_device_id, | 69 const std::string& requested_video_device_id, |
| 69 MediaStreamType audio_type, | 70 MediaStreamType audio_type, |
| 70 MediaStreamType video_type) | 71 MediaStreamType video_type) |
| 71 : render_process_id(render_process_id), | 72 : render_process_id(render_process_id), |
| 72 render_view_id(render_view_id), | 73 render_view_id(render_view_id), |
| 73 page_request_id(page_request_id), | 74 page_request_id(page_request_id), |
| 75 tab_capture_device_id(tab_capture_device_id), |
| 74 security_origin(security_origin), | 76 security_origin(security_origin), |
| 75 request_type(request_type), | 77 request_type(request_type), |
| 76 requested_audio_device_id(requested_audio_device_id), | 78 requested_audio_device_id(requested_audio_device_id), |
| 77 requested_video_device_id(requested_video_device_id), | 79 requested_video_device_id(requested_video_device_id), |
| 78 audio_type(audio_type), | 80 audio_type(audio_type), |
| 79 video_type(video_type) { | 81 video_type(video_type) { |
| 80 } | 82 } |
| 81 | 83 |
| 82 MediaStreamRequest::~MediaStreamRequest() {} | 84 MediaStreamRequest::~MediaStreamRequest() {} |
| 83 | 85 |
| 84 } // namespace content | 86 } // namespace content |
| OLD | NEW |