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

Side by Side Diff: media/formats/mpeg/mpeg_audio_stream_parser_base.h

Issue 623263003: replace OVERRIDE and FINAL with override and final in media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « media/formats/mpeg/mpeg1_audio_stream_parser.h ('k') | media/formats/webm/webm_audio_client.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_FORMATS_MPEG_MPEG_AUDIO_STREAM_PARSER_BASE_H_ 5 #ifndef MEDIA_FORMATS_MPEG_MPEG_AUDIO_STREAM_PARSER_BASE_H_
6 #define MEDIA_FORMATS_MPEG_MPEG_AUDIO_STREAM_PARSER_BASE_H_ 6 #define MEDIA_FORMATS_MPEG_MPEG_AUDIO_STREAM_PARSER_BASE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 20 matching lines...) Expand all
31 virtual ~MPEGAudioStreamParserBase(); 31 virtual ~MPEGAudioStreamParserBase();
32 32
33 // StreamParser implementation. 33 // StreamParser implementation.
34 virtual void Init(const InitCB& init_cb, 34 virtual void Init(const InitCB& init_cb,
35 const NewConfigCB& config_cb, 35 const NewConfigCB& config_cb,
36 const NewBuffersCB& new_buffers_cb, 36 const NewBuffersCB& new_buffers_cb,
37 bool ignore_text_tracks, 37 bool ignore_text_tracks,
38 const NeedKeyCB& need_key_cb, 38 const NeedKeyCB& need_key_cb,
39 const NewMediaSegmentCB& new_segment_cb, 39 const NewMediaSegmentCB& new_segment_cb,
40 const base::Closure& end_of_segment_cb, 40 const base::Closure& end_of_segment_cb,
41 const LogCB& log_cb) OVERRIDE; 41 const LogCB& log_cb) override;
42 virtual void Flush() OVERRIDE; 42 virtual void Flush() override;
43 virtual bool Parse(const uint8* buf, int size) OVERRIDE; 43 virtual bool Parse(const uint8* buf, int size) override;
44 44
45 protected: 45 protected:
46 // Subclasses implement this method to parse format specific frame headers. 46 // Subclasses implement this method to parse format specific frame headers.
47 // |data| & |size| describe the data available for parsing. 47 // |data| & |size| describe the data available for parsing.
48 // 48 //
49 // Implementations are expected to consume an entire frame header. It should 49 // Implementations are expected to consume an entire frame header. It should
50 // only return a value greater than 0 when |data| has enough bytes to 50 // only return a value greater than 0 when |data| has enough bytes to
51 // successfully parse & consume the entire frame header. 51 // successfully parse & consume the entire frame header.
52 // 52 //
53 // |frame_size| - Required parameter that is set to the size of the frame, in 53 // |frame_size| - Required parameter that is set to the size of the frame, in
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 const uint32 start_code_mask_; 147 const uint32 start_code_mask_;
148 const AudioCodec audio_codec_; 148 const AudioCodec audio_codec_;
149 const int codec_delay_; 149 const int codec_delay_;
150 150
151 DISALLOW_COPY_AND_ASSIGN(MPEGAudioStreamParserBase); 151 DISALLOW_COPY_AND_ASSIGN(MPEGAudioStreamParserBase);
152 }; 152 };
153 153
154 } // namespace media 154 } // namespace media
155 155
156 #endif // MEDIA_FORMATS_MPEG_MPEG_AUDIO_STREAM_PARSER_BASE_H_ 156 #endif // MEDIA_FORMATS_MPEG_MPEG_AUDIO_STREAM_PARSER_BASE_H_
OLDNEW
« no previous file with comments | « media/formats/mpeg/mpeg1_audio_stream_parser.h ('k') | media/formats/webm/webm_audio_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698