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

Side by Side Diff: media/tools/player_x11/data_source_logger.h

Issue 9860027: Remove DemuxerFactory and URL parameter from Pipeline. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: again Created 8 years, 8 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 | « media/tools/player_wtl/movie.cc ('k') | media/tools/player_x11/data_source_logger.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef MEDIA_TOOLS_PLAYER_X11_DATA_SOURCE_LOGGER_H_ 5 #ifndef MEDIA_TOOLS_PLAYER_X11_DATA_SOURCE_LOGGER_H_
6 #define MEDIA_TOOLS_PLAYER_X11_DATA_SOURCE_LOGGER_H_ 6 #define MEDIA_TOOLS_PLAYER_X11_DATA_SOURCE_LOGGER_H_
7 7
8 #include "media/base/data_source.h" 8 #include "media/base/data_source.h"
9 9
10 // Logs all DataSource operations to VLOG(1) for debugging purposes. 10 // Logs all DataSource operations to VLOG(1) for debugging purposes.
(...skipping 11 matching lines...) Expand all
22 virtual ~DataSourceLogger(); 22 virtual ~DataSourceLogger();
23 23
24 // media::DataSource implementation. 24 // media::DataSource implementation.
25 virtual void set_host(media::DataSourceHost* host) OVERRIDE; 25 virtual void set_host(media::DataSourceHost* host) OVERRIDE;
26 virtual void Stop(const base::Closure& closure) OVERRIDE; 26 virtual void Stop(const base::Closure& closure) OVERRIDE;
27 virtual void Read( 27 virtual void Read(
28 int64 position, int size, uint8* data, 28 int64 position, int size, uint8* data,
29 const media::DataSource::ReadCB& read_cb) OVERRIDE; 29 const media::DataSource::ReadCB& read_cb) OVERRIDE;
30 virtual bool GetSize(int64* size_out) OVERRIDE; 30 virtual bool GetSize(int64* size_out) OVERRIDE;
31 virtual bool IsStreaming() OVERRIDE; 31 virtual bool IsStreaming() OVERRIDE;
32 virtual void SetPreload(media::Preload preload) OVERRIDE;
33 virtual void SetBitrate(int bitrate) OVERRIDE; 32 virtual void SetBitrate(int bitrate) OVERRIDE;
34 33
35 private: 34 private:
36 scoped_refptr<media::DataSource> data_source_; 35 scoped_refptr<media::DataSource> data_source_;
37 bool streaming_; 36 bool streaming_;
38 37
39 DISALLOW_COPY_AND_ASSIGN(DataSourceLogger); 38 DISALLOW_COPY_AND_ASSIGN(DataSourceLogger);
40 }; 39 };
41 40
42 #endif // MEDIA_TOOLS_PLAYER_X11_DATA_SOURCE_LOGGER_H_ 41 #endif // MEDIA_TOOLS_PLAYER_X11_DATA_SOURCE_LOGGER_H_
OLDNEW
« no previous file with comments | « media/tools/player_wtl/movie.cc ('k') | media/tools/player_x11/data_source_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698