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

Unified Diff: content/renderer/media/buffered_data_source_host_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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/buffered_data_source_host_impl.h
diff --git a/content/renderer/media/buffered_data_source_host_impl.h b/content/renderer/media/buffered_data_source_host_impl.h
index 788050fb75f91b87155b759575dc84f7bf7f4e69..301b08ea966b41dba852e2d675d6e90b35622497 100644
--- a/content/renderer/media/buffered_data_source_host_impl.h
+++ b/content/renderer/media/buffered_data_source_host_impl.h
@@ -29,9 +29,7 @@ class CONTENT_EXPORT BufferedDataSourceHostImpl
media::Ranges<base::TimeDelta>* buffered_time_ranges,
base::TimeDelta media_duration);
- // TODO(sandersd): Change this to non-const along with Pipeline's version.
- // http://crbug.com/360251
- bool DidLoadingProgress() const;
+ bool DidLoadingProgress();
private:
// Total size of the data source.
@@ -42,7 +40,7 @@ class CONTENT_EXPORT BufferedDataSourceHostImpl
// True when AddBufferedByteRange() has been called more recently than
// DidLoadingProgress().
- mutable bool did_loading_progress_;
+ bool did_loading_progress_;
DISALLOW_COPY_AND_ASSIGN(BufferedDataSourceHostImpl);
};
« no previous file with comments | « content/renderer/media/android/webmediaplayer_android.cc ('k') | content/renderer/media/buffered_data_source_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698