| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 MediaStreamRequest::MediaStreamRequest( | 113 MediaStreamRequest::MediaStreamRequest( |
| 114 int render_process_id, | 114 int render_process_id, |
| 115 int render_frame_id, | 115 int render_frame_id, |
| 116 int page_request_id, | 116 int page_request_id, |
| 117 const GURL& security_origin, | 117 const GURL& security_origin, |
| 118 bool user_gesture, | 118 bool user_gesture, |
| 119 MediaStreamRequestType request_type, | 119 MediaStreamRequestType request_type, |
| 120 const std::string& requested_audio_device_id, | 120 const std::string& requested_audio_device_id, |
| 121 const std::string& requested_video_device_id, | 121 const std::string& requested_video_device_id, |
| 122 MediaStreamType audio_type, | 122 MediaStreamType audio_type, |
| 123 MediaStreamType video_type) | 123 MediaStreamType video_type, |
| 124 bool mute_source) |
| 124 : render_process_id(render_process_id), | 125 : render_process_id(render_process_id), |
| 125 render_frame_id(render_frame_id), | 126 render_frame_id(render_frame_id), |
| 126 page_request_id(page_request_id), | 127 page_request_id(page_request_id), |
| 127 security_origin(security_origin), | 128 security_origin(security_origin), |
| 128 user_gesture(user_gesture), | 129 user_gesture(user_gesture), |
| 129 request_type(request_type), | 130 request_type(request_type), |
| 130 requested_audio_device_id(requested_audio_device_id), | 131 requested_audio_device_id(requested_audio_device_id), |
| 131 requested_video_device_id(requested_video_device_id), | 132 requested_video_device_id(requested_video_device_id), |
| 132 audio_type(audio_type), | 133 audio_type(audio_type), |
| 133 video_type(video_type), | 134 video_type(video_type), |
| 134 all_ancestors_have_same_origin(false) { | 135 mute_source(mute_source), |
| 135 } | 136 all_ancestors_have_same_origin(false) {} |
| 136 | 137 |
| 137 MediaStreamRequest::MediaStreamRequest(const MediaStreamRequest& other) = | 138 MediaStreamRequest::MediaStreamRequest(const MediaStreamRequest& other) = |
| 138 default; | 139 default; |
| 139 | 140 |
| 140 MediaStreamRequest::~MediaStreamRequest() {} | 141 MediaStreamRequest::~MediaStreamRequest() {} |
| 141 | 142 |
| 142 } // namespace content | 143 } // namespace content |
| OLD | NEW |