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

Side by Side Diff: content/renderer/pepper/pepper_media_stream_video_track_host.cc

Issue 391703002: Implement ConstraintNotSatisfiedError for getusermedia (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and change the reviewers list Created 6 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
« no previous file with comments | « content/renderer/pepper/pepper_media_stream_video_track_host.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 constraints.initialize(); 532 constraints.initialize();
533 track_ = MediaStreamVideoTrack::CreateVideoTrack( 533 track_ = MediaStreamVideoTrack::CreateVideoTrack(
534 this, constraints, 534 this, constraints,
535 base::Bind( 535 base::Bind(
536 &PepperMediaStreamVideoTrackHost::OnTrackStarted, 536 &PepperMediaStreamVideoTrackHost::OnTrackStarted,
537 base::Unretained(this)), 537 base::Unretained(this)),
538 enabled); 538 enabled);
539 } 539 }
540 540
541 void PepperMediaStreamVideoTrackHost::OnTrackStarted( 541 void PepperMediaStreamVideoTrackHost::OnTrackStarted(
542 MediaStreamSource* source, bool success) { 542 MediaStreamSource* source,
543 DVLOG(3) << "OnTrackStarted result: " << success; 543 MediaStreamRequestResult result,
544 const blink::WebString& result_name) {
545 DVLOG(3) << "OnTrackStarted result: " << result;
544 } 546 }
545 547
546 } // namespace content 548 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_media_stream_video_track_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698