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

Side by Side Diff: content/renderer/media/video_destination_handler_unittest.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 <string> 5 #include <string>
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "content/renderer/media/media_stream_extra_data.h" 8 #include "content/renderer/media/media_stream_extra_data.h"
9 #include "content/renderer/media/mock_media_stream_dependency_factory.h" 9 #include "content/renderer/media/mock_media_stream_dependency_factory.h"
10 #include "content/renderer/media/mock_media_stream_registry.h" 10 #include "content/renderer/media/mock_media_stream_registry.h"
11 #include "content/renderer/media/video_destination_handler.h" 11 #include "content/renderer/media/video_destination_handler.h"
12 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebMediaStreamTrack .h" 14 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h"
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" 15 #include "third_party/WebKit/public/platform/WebString.h"
16 16
17 using cricket::CapturedFrame; 17 using cricket::CapturedFrame;
18 using cricket::CaptureState; 18 using cricket::CaptureState;
19 using cricket::VideoCapturer; 19 using cricket::VideoCapturer;
20 using cricket::VideoFormat; 20 using cricket::VideoFormat;
21 using cricket::VideoFormatPod; 21 using cricket::VideoFormatPod;
22 22
23 namespace content { 23 namespace content {
24 24
25 static const std::string kTestStreamUrl = "stream_url"; 25 static const std::string kTestStreamUrl = "stream_url";
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 webrtc::MediaStreamInterface* native_stream = extra_data->stream(); 118 webrtc::MediaStreamInterface* native_stream = extra_data->stream();
119 DCHECK(native_stream); 119 DCHECK(native_stream);
120 webrtc::VideoTrackVector native_video_tracks = 120 webrtc::VideoTrackVector native_video_tracks =
121 native_stream->GetVideoTracks(); 121 native_stream->GetVideoTracks();
122 EXPECT_EQ(1u, native_video_tracks.size()); 122 EXPECT_EQ(1u, native_video_tracks.size());
123 123
124 delete frame_writer; 124 delete frame_writer;
125 } 125 }
126 126
127 } // namespace content 127 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/video_destination_handler.cc ('k') | content/renderer/media/video_source_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698