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

Unified Diff: webkit/media/buffered_data_source.h

Issue 10700125: Fold RestartLoadingTask() into ReadCallback() as the method is called on the render thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase tot Created 8 years, 5 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
« no previous file with comments | « no previous file | webkit/media/buffered_data_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/buffered_data_source.h
diff --git a/webkit/media/buffered_data_source.h b/webkit/media/buffered_data_source.h
index 1580d6f413ad94a04f6d1d1a99dab04c40428fb0..7960efde97a0cf5559714ae1c9747b84046e52a2 100644
--- a/webkit/media/buffered_data_source.h
+++ b/webkit/media/buffered_data_source.h
@@ -95,14 +95,11 @@ class BufferedDataSource : public media::DataSource {
// Task posted to perform actual reading on the render thread.
void ReadTask(int64 position, int read_size, uint8* read_buffer);
- // Task posted when Stop() is called. Stops |watch_dog_timer_| and
- // |loader_|, reset Read() variables, and set |stopped_on_render_loop_|
- // to signal any remaining tasks to stop.
+ // Task posted when Stop() is called. Stops |loader_|, resets Read()
+ // variables, and sets |stopped_on_render_loop_| to signal any remaining
+ // tasks to stop.
void CleanupTask();
- // Restart resource loading on render thread.
- void RestartLoadingTask();
-
// This task uses the current playback rate with the previous playback rate
// to determine whether we are going from pause to play and play to pause,
// and signals the buffered resource loader accordingly.
« no previous file with comments | « no previous file | webkit/media/buffered_data_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698