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

Side by Side Diff: media/blink/webmediaplayer_impl_unittest.cc

Issue 1829923003: [Android,RemotePlayback] Resolve HTMLMediaElement.remote.connect() with false when device is not se… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remote-playback-connect
Patch Set: Rebased Created 4 years, 8 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback_helpers.h" 8 #include "base/callback_helpers.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 return 0; 69 return 0;
70 } 70 }
71 void removeVideoTrack(blink::WebMediaPlayer::TrackId) override {} 71 void removeVideoTrack(blink::WebMediaPlayer::TrackId) override {}
72 void addTextTrack(blink::WebInbandTextTrack*) override {} 72 void addTextTrack(blink::WebInbandTextTrack*) override {}
73 void removeTextTrack(blink::WebInbandTextTrack*) override {} 73 void removeTextTrack(blink::WebInbandTextTrack*) override {}
74 void mediaSourceOpened(blink::WebMediaSource*) override {} 74 void mediaSourceOpened(blink::WebMediaSource*) override {}
75 void requestSeek(double) override {} 75 void requestSeek(double) override {}
76 void remoteRouteAvailabilityChanged(bool) override {} 76 void remoteRouteAvailabilityChanged(bool) override {}
77 void connectedToRemoteDevice() override {} 77 void connectedToRemoteDevice() override {}
78 void disconnectedFromRemoteDevice() override {} 78 void disconnectedFromRemoteDevice() override {}
79 void cancelledRemotePlaybackRequest() override {}
79 80
80 private: 81 private:
81 DISALLOW_COPY_AND_ASSIGN(DummyWebMediaPlayerClient); 82 DISALLOW_COPY_AND_ASSIGN(DummyWebMediaPlayerClient);
82 }; 83 };
83 84
84 class WebMediaPlayerImplTest : public testing::Test { 85 class WebMediaPlayerImplTest : public testing::Test {
85 public: 86 public:
86 WebMediaPlayerImplTest() 87 WebMediaPlayerImplTest()
87 : media_thread_("MediaThreadForTest"), 88 : media_thread_("MediaThreadForTest"),
88 web_view_(blink::WebView::create(nullptr)), 89 web_view_(blink::WebView::create(nullptr)),
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 // The WebMediaPlayerImpl instance under test. 151 // The WebMediaPlayerImpl instance under test.
151 scoped_ptr<WebMediaPlayerImpl> wmpi_; 152 scoped_ptr<WebMediaPlayerImpl> wmpi_;
152 153
153 private: 154 private:
154 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImplTest); 155 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImplTest);
155 }; 156 };
156 157
157 TEST_F(WebMediaPlayerImplTest, ConstructAndDestroy) {} 158 TEST_F(WebMediaPlayerImplTest, ConstructAndDestroy) {}
158 159
159 } // namespace media 160 } // namespace media
OLDNEW
« no previous file with comments | « media/blink/webmediaplayer_cast_android.cc ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698