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

Side by Side Diff: content/renderer/media/video_source_handler.cc

Issue 15822010: Update refernces to Blink's Platform API (content) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/media/video_source_handler.h" 5 #include "content/renderer/media/video_source_handler.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "content/renderer/media/media_stream_dependency_factory.h" 10 #include "content/renderer/media/media_stream_dependency_factory.h"
11 #include "content/renderer/media/media_stream_registry_interface.h" 11 #include "content/renderer/media/media_stream_registry_interface.h"
12 #include "content/renderer/render_thread_impl.h" 12 #include "content/renderer/render_thread_impl.h"
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebMediaStream.h" 13 #include "third_party/WebKit/public/platform/WebMediaStream.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaStreamRegistr y.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaStreamRegistr y.h"
15 #include "third_party/libjingle/source/talk/media/base/videoframe.h" 15 #include "third_party/libjingle/source/talk/media/base/videoframe.h"
16 #include "third_party/libjingle/source/talk/media/base/videorenderer.h" 16 #include "third_party/libjingle/source/talk/media/base/videorenderer.h"
17 17
18 using cricket::VideoFrame; 18 using cricket::VideoFrame;
19 using cricket::VideoRenderer; 19 using cricket::VideoRenderer;
20 using webrtc::VideoSourceInterface; 20 using webrtc::VideoSourceInterface;
21 21
22 namespace content { 22 namespace content {
23 23
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 std::map<FrameReaderInterface*, VideoRenderer*>::iterator it; 142 std::map<FrameReaderInterface*, VideoRenderer*>::iterator it;
143 it = reader_to_receiver_.find(reader); 143 it = reader_to_receiver_.find(reader);
144 if (it == reader_to_receiver_.end()) { 144 if (it == reader_to_receiver_.end()) {
145 return NULL; 145 return NULL;
146 } 146 }
147 return it->second; 147 return it->second;
148 } 148 }
149 149
150 } // namespace content 150 } // namespace content
151 151
OLDNEW
« no previous file with comments | « content/renderer/media/video_destination_handler_unittest.cc ('k') | content/renderer/media/video_source_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698