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

Side by Side Diff: content/renderer/media/webmediaplayer_ms.h

Issue 284723003: Remove const WebMediaPlayer::didLoadingProgress() implementations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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 CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_
6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // Getters of playback state. 93 // Getters of playback state.
94 virtual bool paused() const; 94 virtual bool paused() const;
95 virtual bool seeking() const; 95 virtual bool seeking() const;
96 virtual double duration() const; 96 virtual double duration() const;
97 virtual double currentTime() const; 97 virtual double currentTime() const;
98 98
99 // Internal states of loading and network. 99 // Internal states of loading and network.
100 virtual blink::WebMediaPlayer::NetworkState networkState() const; 100 virtual blink::WebMediaPlayer::NetworkState networkState() const;
101 virtual blink::WebMediaPlayer::ReadyState readyState() const; 101 virtual blink::WebMediaPlayer::ReadyState readyState() const;
102 102
103 // TODO(sandersd): Remove const version.
104 // http://crbug.com/360251
105 virtual bool didLoadingProgress() const;
106 virtual bool didLoadingProgress(); 103 virtual bool didLoadingProgress();
107 104
108 virtual bool hasSingleSecurityOrigin() const; 105 virtual bool hasSingleSecurityOrigin() const;
109 virtual bool didPassCORSAccessCheck() const; 106 virtual bool didPassCORSAccessCheck() const;
110 107
111 virtual double mediaTimeForTimeValue(double timeValue) const; 108 virtual double mediaTimeForTimeValue(double timeValue) const;
112 109
113 virtual unsigned decodedFrameCount() const; 110 virtual unsigned decodedFrameCount() const;
114 virtual unsigned droppedFrameCount() const; 111 virtual unsigned droppedFrameCount() const;
115 virtual unsigned audioDecodedByteCount() const; 112 virtual unsigned audioDecodedByteCount() const;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 scoped_refptr<MediaStreamAudioRenderer> audio_renderer_; 187 scoped_refptr<MediaStreamAudioRenderer> audio_renderer_;
191 188
192 scoped_refptr<media::MediaLog> media_log_; 189 scoped_refptr<media::MediaLog> media_log_;
193 190
194 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS); 191 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS);
195 }; 192 };
196 193
197 } // namespace content 194 } // namespace content
198 195
199 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ 196 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_
OLDNEW
« no previous file with comments | « content/renderer/media/webmediaplayer_impl.cc ('k') | content/renderer/media/webmediaplayer_ms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698