diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-29 19:33:46 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-29 19:33:46 +0000 |
commit | 0a60faeb6f919d1deb2ac5f8d75f5168de62ddf9 (patch) | |
tree | b997ad15e2d187f6963adb2c64c68ba2fb9b8ed8 /media | |
parent | f745489d0208c9e4e061d0e7361f951fb5eb825c (diff) | |
download | chromium_src-0a60faeb6f919d1deb2ac5f8d75f5168de62ddf9.zip chromium_src-0a60faeb6f919d1deb2ac5f8d75f5168de62ddf9.tar.gz chromium_src-0a60faeb6f919d1deb2ac5f8d75f5168de62ddf9.tar.bz2 |
Fixed up the EOL style on all /src/media source files.
TBR=maruel
Review URL: http://codereview.chromium.org/19641
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8903 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r-- | media/base/filter_host.h | 4 | ||||
-rw-r--r-- | media/base/pipeline_impl.h | 20 |
2 files changed, 12 insertions, 12 deletions
diff --git a/media/base/filter_host.h b/media/base/filter_host.h index 437b3f8..42f6554 100644 --- a/media/base/filter_host.h +++ b/media/base/filter_host.h @@ -49,8 +49,8 @@ class FilterHost { // Filters must call this method to indicate that their initialization is // complete. They may call this from within their Initialize() method or may // choose call it after processing some data. - virtual void InitializationComplete() = 0;
-
+ virtual void InitializationComplete() = 0; + // Posts a task to be executed asynchronously on the pipeline's thread. virtual void PostTask(Task* task) = 0; diff --git a/media/base/pipeline_impl.h b/media/base/pipeline_impl.h index dc46c02..764caac 100644 --- a/media/base/pipeline_impl.h +++ b/media/base/pipeline_impl.h @@ -166,10 +166,10 @@ class PipelineThread : public base::RefCountedThreadSafe<PipelineThread>, // Called by a FilterHostImpl on behalf of a filter that calls the // FilterHost::PostTask method. - void PostTask(Task* task);
-
- // Simple accessor used by the FilterHostImpl class to get access to the
- // pipeline object.
+ void PostTask(Task* task); + + // Simple accessor used by the FilterHostImpl class to get access to the + // pipeline object. PipelineImpl* pipeline() const { return pipeline_; } private: @@ -183,12 +183,12 @@ class PipelineThread : public base::RefCountedThreadSafe<PipelineThread>, friend class base::RefCountedThreadSafe<PipelineThread>; virtual ~PipelineThread(); - MessageLoop* message_loop() const { return thread_.message_loop(); }
-
- // The following "task" methods correspond to the public methods, but these
- // methods are run as the result of posting a task to the PipelineThread's
- // message loop. For example, the Start method posts a task to call the
- // StartTask message on the pipeline thread.
+ MessageLoop* message_loop() const { return thread_.message_loop(); } + + // The following "task" methods correspond to the public methods, but these + // methods are run as the result of posting a task to the PipelineThread's + // message loop. For example, the Start method posts a task to call the + // StartTask message on the pipeline thread. void StartTask(FilterFactory* filter_factory, const std::string& url, Callback1<bool>::Type* init_complete_callback); |