| 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 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 MediaStreamRequest::MediaStreamRequest( | 119 MediaStreamRequest::MediaStreamRequest( |
| 120 int render_process_id, | 120 int render_process_id, |
| 121 int render_frame_id, | 121 int render_frame_id, |
| 122 int page_request_id, | 122 int page_request_id, |
| 123 const GURL& security_origin, | 123 const GURL& security_origin, |
| 124 bool user_gesture, | 124 bool user_gesture, |
| 125 MediaStreamRequestType request_type, | 125 MediaStreamRequestType request_type, |
| 126 const std::string& requested_audio_device_id, | 126 const std::string& requested_audio_device_id, |
| 127 const std::string& requested_video_device_id, | 127 const std::string& requested_video_device_id, |
| 128 MediaStreamType audio_type, | 128 MediaStreamType audio_type, |
| 129 MediaStreamType video_type) | 129 MediaStreamType video_type, |
| 130 bool disable_local_echo) |
| 130 : render_process_id(render_process_id), | 131 : render_process_id(render_process_id), |
| 131 render_frame_id(render_frame_id), | 132 render_frame_id(render_frame_id), |
| 132 page_request_id(page_request_id), | 133 page_request_id(page_request_id), |
| 133 security_origin(security_origin), | 134 security_origin(security_origin), |
| 134 user_gesture(user_gesture), | 135 user_gesture(user_gesture), |
| 135 request_type(request_type), | 136 request_type(request_type), |
| 136 requested_audio_device_id(requested_audio_device_id), | 137 requested_audio_device_id(requested_audio_device_id), |
| 137 requested_video_device_id(requested_video_device_id), | 138 requested_video_device_id(requested_video_device_id), |
| 138 audio_type(audio_type), | 139 audio_type(audio_type), |
| 139 video_type(video_type), | 140 video_type(video_type), |
| 140 all_ancestors_have_same_origin(false) { | 141 disable_local_echo(disable_local_echo), |
| 141 } | 142 all_ancestors_have_same_origin(false) {} |
| 142 | 143 |
| 143 MediaStreamRequest::MediaStreamRequest(const MediaStreamRequest& other) = | 144 MediaStreamRequest::MediaStreamRequest(const MediaStreamRequest& other) = |
| 144 default; | 145 default; |
| 145 | 146 |
| 146 MediaStreamRequest::~MediaStreamRequest() {} | 147 MediaStreamRequest::~MediaStreamRequest() {} |
| 147 | 148 |
| 148 } // namespace content | 149 } // namespace content |
| OLD | NEW |