| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/renderer/pepper/pepper_media_stream_video_track_host.h" | 5 #include "content/renderer/pepper/pepper_media_stream_video_track_host.h" |
| 6 | 6 |
| 7 #include "base/base64.h" | 7 #include "base/base64.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/rand_util.h" | 9 #include "base/rand_util.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| (...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 531 constraints.initialize(); | 531 constraints.initialize(); |
| 532 track_ = MediaStreamVideoTrack::CreateVideoTrack( | 532 track_ = MediaStreamVideoTrack::CreateVideoTrack( |
| 533 this, constraints, | 533 this, constraints, |
| 534 base::Bind( | 534 base::Bind( |
| 535 &PepperMediaStreamVideoTrackHost::OnTrackStarted, | 535 &PepperMediaStreamVideoTrackHost::OnTrackStarted, |
| 536 base::Unretained(this)), | 536 base::Unretained(this)), |
| 537 enabled); | 537 enabled); |
| 538 } | 538 } |
| 539 | 539 |
| 540 void PepperMediaStreamVideoTrackHost::OnTrackStarted( | 540 void PepperMediaStreamVideoTrackHost::OnTrackStarted( |
| 541 MediaStreamSource* source, bool success) { | 541 MediaStreamSource* source, |
| 542 DVLOG(3) << "OnTrackStarted result: " << success; | 542 MediaStreamRequestResult result, |
| 543 const blink::WebString& result_name) { |
| 544 DVLOG(3) << "OnTrackStarted result: " << result; |
| 543 } | 545 } |
| 544 | 546 |
| 545 } // namespace content | 547 } // namespace content |
| OLD | NEW |