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

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

Issue 275303002: Non-const impls. for WebMediaPlayer::didLoadingProgress(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove mutable bools. 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_IMPL_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_IMPL_H_
6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_IMPL_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 virtual double duration() const; 108 virtual double duration() const;
109 virtual double timelineOffset() const; 109 virtual double timelineOffset() const;
110 virtual double currentTime() const; 110 virtual double currentTime() const;
111 111
112 // Internal states of loading and network. 112 // Internal states of loading and network.
113 // TODO(hclam): Ask the pipeline about the state rather than having reading 113 // TODO(hclam): Ask the pipeline about the state rather than having reading
114 // them from members which would cause race conditions. 114 // them from members which would cause race conditions.
115 virtual blink::WebMediaPlayer::NetworkState networkState() const; 115 virtual blink::WebMediaPlayer::NetworkState networkState() const;
116 virtual blink::WebMediaPlayer::ReadyState readyState() const; 116 virtual blink::WebMediaPlayer::ReadyState readyState() const;
117 117
118 // TODO(sandersd): Change this to non-const in blink::WebMediaPlayer. 118 // TODO(sandersd): Remove const version.
119 // http://crbug.com/360251 119 // http://crbug.com/360251
120 virtual bool didLoadingProgress() const; 120 virtual bool didLoadingProgress() const;
121 virtual bool didLoadingProgress();
121 122
122 virtual bool hasSingleSecurityOrigin() const; 123 virtual bool hasSingleSecurityOrigin() const;
123 virtual bool didPassCORSAccessCheck() const; 124 virtual bool didPassCORSAccessCheck() const;
124 125
125 virtual double mediaTimeForTimeValue(double timeValue) const; 126 virtual double mediaTimeForTimeValue(double timeValue) const;
126 127
127 virtual unsigned decodedFrameCount() const; 128 virtual unsigned decodedFrameCount() const;
128 virtual unsigned droppedFrameCount() const; 129 virtual unsigned droppedFrameCount() const;
129 virtual unsigned audioDecodedByteCount() const; 130 virtual unsigned audioDecodedByteCount() const;
130 virtual unsigned videoDecodedByteCount() const; 131 virtual unsigned videoDecodedByteCount() const;
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 WebContentDecryptionModuleImpl* web_cdm_; 356 WebContentDecryptionModuleImpl* web_cdm_;
356 357
357 media::DecryptorReadyCB decryptor_ready_cb_; 358 media::DecryptorReadyCB decryptor_ready_cb_;
358 359
359 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 360 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
360 }; 361 };
361 362
362 } // namespace content 363 } // namespace content
363 364
364 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_IMPL_H_ 365 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/buffered_data_source_host_impl.cc ('k') | content/renderer/media/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698