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

Unified Diff: media/base/pipeline.h

Issue 9864022: Move DataSource::SetPreload() to BufferedDataSource. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: Created 8 years, 9 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: media/base/pipeline.h
diff --git a/media/base/pipeline.h b/media/base/pipeline.h
index 8f039e6992713d9fa3806d1f0b9e7be659c2ff8e..39a8e4e2f29e1a5b5351b2022624a7567c959b83 100644
--- a/media/base/pipeline.h
+++ b/media/base/pipeline.h
@@ -15,7 +15,6 @@
#include "media/base/filter_host.h"
#include "media/base/media_export.h"
#include "media/base/pipeline_status.h"
-#include "media/base/preload.h"
#include "ui/gfx/size.h"
class MessageLoop;
@@ -205,9 +204,6 @@ class MEDIA_EXPORT Pipeline
// channels proportionately for multi-channel audio streams.
void SetVolume(float volume);
- // Set the preload value for the pipeline.
- void SetPreload(Preload preload);
-
// Gets the current pipeline time. For a pipeline "time" progresses from 0 to
// the end of the media.
base::TimeDelta GetCurrentTime() const;
@@ -378,12 +374,6 @@ class MEDIA_EXPORT Pipeline
// Carries out notifying filters that the volume has changed.
void VolumeChangedTask(float volume);
- // Returns media preload value.
- virtual Preload GetPreload() const;
-
- // Carries out notifying filters that the preload value has changed.
- void PreloadChangedTask(Preload preload);
-
// Carries out notifying filters that we are seeking to a new timestamp.
void SeekTask(base::TimeDelta time, const PipelineStatusCB& seek_cb);
@@ -526,11 +516,6 @@ class MEDIA_EXPORT Pipeline
// filters.
float volume_;
- // Current value of preload attribute. This value is set immediately via
- // SetPreload() and a task is dispatched on the message loop to notify the
- // filters.
- Preload preload_;
-
// Current playback rate (>= 0.0f). This value is set immediately via
// SetPlaybackRate() and a task is dispatched on the message loop to notify
// the filters.

Powered by Google App Engine
This is Rietveld 408576698