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

Side by Side Diff: media/blink/webmediaplayer_impl.h

Issue 2660003003: Add MediaError.message (Closed)
Patch Set: Address dalecurtis@'s comment: undef STRINGIFY_STATUS_CASE Created 3 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 5 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 double Duration() const override; 151 double Duration() const override;
152 virtual double timelineOffset() const; 152 virtual double timelineOffset() const;
153 double CurrentTime() const override; 153 double CurrentTime() const override;
154 154
155 // Internal states of loading and network. 155 // Internal states of loading and network.
156 // TODO(hclam): Ask the pipeline about the state rather than having reading 156 // TODO(hclam): Ask the pipeline about the state rather than having reading
157 // them from members which would cause race conditions. 157 // them from members which would cause race conditions.
158 blink::WebMediaPlayer::NetworkState GetNetworkState() const override; 158 blink::WebMediaPlayer::NetworkState GetNetworkState() const override;
159 blink::WebMediaPlayer::ReadyState GetReadyState() const override; 159 blink::WebMediaPlayer::ReadyState GetReadyState() const override;
160 160
161 blink::WebString GetErrorMessage() override; 161 blink::WebString GetErrorMessage() const override;
162 bool DidLoadingProgress() override; 162 bool DidLoadingProgress() override;
163 163
164 bool HasSingleSecurityOrigin() const override; 164 bool HasSingleSecurityOrigin() const override;
165 bool DidPassCORSAccessCheck() const override; 165 bool DidPassCORSAccessCheck() const override;
166 166
167 double MediaTimeForTimeValue(double timeValue) const override; 167 double MediaTimeForTimeValue(double timeValue) const override;
168 168
169 unsigned DecodedFrameCount() const override; 169 unsigned DecodedFrameCount() const override;
170 unsigned DroppedFrameCount() const override; 170 unsigned DroppedFrameCount() const override;
171 size_t AudioDecodedByteCount() const override; 171 size_t AudioDecodedByteCount() const override;
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 base::CancelableCallback<void(base::TimeTicks)> frame_time_report_cb_; 724 base::CancelableCallback<void(base::TimeTicks)> frame_time_report_cb_;
725 725
726 bool initial_video_height_recorded_ = false; 726 bool initial_video_height_recorded_ = false;
727 727
728 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 728 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
729 }; 729 };
730 730
731 } // namespace media 731 } // namespace media
732 732
733 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 733 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698