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

Unified Diff: media/filters/source_buffer_state.h

Issue 2379653004: Rename MediaSourceState -> SourceBufferState (Closed)
Patch Set: nits Created 4 years, 3 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 | « media/filters/media_source_state_unittest.cc ('k') | media/filters/source_buffer_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/source_buffer_state.h
diff --git a/media/filters/media_source_state.h b/media/filters/source_buffer_state.h
similarity index 94%
rename from media/filters/media_source_state.h
rename to media/filters/source_buffer_state.h
index 0e1012f18835cdd039342f24cd0f02ab112fd1de..269cf326d0d5826f886f085c85abb91bcf049cb5 100644
--- a/media/filters/media_source_state.h
+++ b/media/filters/source_buffer_state.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MEDIA_FILTERS_MEDIA_SOURCE_STATE_H_
-#define MEDIA_FILTERS_MEDIA_SOURCE_STATE_H_
+#ifndef MEDIA_FILTERS_SOURCE_BUFFER_STATE_H_
+#define MEDIA_FILTERS_SOURCE_BUFFER_STATE_H_
#include <list>
@@ -26,7 +26,7 @@ class ChunkDemuxerStream;
class FrameProcessor;
// Contains state belonging to a source id.
-class MEDIA_EXPORT MediaSourceState {
+class MEDIA_EXPORT SourceBufferState {
public:
// Callback signature used to create ChunkDemuxerStreams.
typedef base::Callback<ChunkDemuxerStream*(DemuxerStream::Type)>
@@ -35,12 +35,12 @@ class MEDIA_EXPORT MediaSourceState {
typedef base::Callback<void(ChunkDemuxerStream*, const TextTrackConfig&)>
NewTextTrackCB;
- MediaSourceState(std::unique_ptr<StreamParser> stream_parser,
- std::unique_ptr<FrameProcessor> frame_processor,
- const CreateDemuxerStreamCB& create_demuxer_stream_cb,
- const scoped_refptr<MediaLog>& media_log);
+ SourceBufferState(std::unique_ptr<StreamParser> stream_parser,
+ std::unique_ptr<FrameProcessor> frame_processor,
+ const CreateDemuxerStreamCB& create_demuxer_stream_cb,
+ const scoped_refptr<MediaLog>& media_log);
- ~MediaSourceState();
+ ~SourceBufferState();
void Init(const StreamParser::InitCB& init_cb,
const std::string& expected_codecs,
@@ -221,9 +221,9 @@ class MEDIA_EXPORT MediaSourceState {
// changes to MSE spec. See http://crbug.com/371499.
bool auto_update_timestamp_offset_;
- DISALLOW_COPY_AND_ASSIGN(MediaSourceState);
+ DISALLOW_COPY_AND_ASSIGN(SourceBufferState);
};
} // namespace media
-#endif // MEDIA_FILTERS_MEDIA_SOURCE_STATE_H_
+#endif // MEDIA_FILTERS_SOURCE_BUFFER_STATE_H_
« no previous file with comments | « media/filters/media_source_state_unittest.cc ('k') | media/filters/source_buffer_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698