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

Side by Side Diff: media/base/pipeline.h

Issue 48019: Removed unneeded includes of base/time.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/tab_switching/tab_switching_test.cc ('k') | media/base/pipeline_impl_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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 // The pipeline is the public API clients use for playing back media. Clients 5 // The pipeline is the public API clients use for playing back media. Clients
6 // provide a filter factory containing the filters they want the pipeline to 6 // provide a filter factory containing the filters they want the pipeline to
7 // use to render media. 7 // use to render media.
8 8
9 #ifndef MEDIA_BASE_PIPELINE_H_ 9 #ifndef MEDIA_BASE_PIPELINE_H_
10 #define MEDIA_BASE_PIPELINE_H_ 10 #define MEDIA_BASE_PIPELINE_H_
11 11
12 #include <string> 12 #include <string>
13 13
14 #include "base/task.h" 14 #include "base/task.h"
15 #include "base/time.h"
16 #include "media/base/factory.h" 15 #include "media/base/factory.h"
17 16
17 namespace base {
18 class TimeDelta;
19 }
20
18 namespace media { 21 namespace media {
19 22
20 // Error definitions for pipeline. All codes indicate an error except: 23 // Error definitions for pipeline. All codes indicate an error except:
21 // PIPELINE_OK indicates the pipeline is running normally. 24 // PIPELINE_OK indicates the pipeline is running normally.
22 // PIPELINE_STOPPING is used internally when Pipeline::Stop() is called. 25 // PIPELINE_STOPPING is used internally when Pipeline::Stop() is called.
23 enum PipelineError { 26 enum PipelineError {
24 PIPELINE_OK, 27 PIPELINE_OK,
25 PIPELINE_STOPPING, 28 PIPELINE_STOPPING,
26 PIPELINE_ERROR_URL_NOT_FOUND, 29 PIPELINE_ERROR_URL_NOT_FOUND,
27 PIPELINE_ERROR_NETWORK, 30 PIPELINE_ERROR_NETWORK,
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 // This method must be called only after initialization has completed. 174 // This method must be called only after initialization has completed.
172 virtual void SetVolume(float volume) = 0; 175 virtual void SetVolume(float volume) = 0;
173 176
174 protected: 177 protected:
175 virtual ~Pipeline() {} 178 virtual ~Pipeline() {}
176 }; 179 };
177 180
178 } // namespace media 181 } // namespace media
179 182
180 #endif // MEDIA_BASE_PIPELINE_H_ 183 #endif // MEDIA_BASE_PIPELINE_H_
OLDNEW
« no previous file with comments | « chrome/test/tab_switching/tab_switching_test.cc ('k') | media/base/pipeline_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698