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

Side by Side Diff: media/formats/mpeg/adts_stream_parser.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/mp4/mp4_stream_parser.h ('k') | media/formats/mpeg/mpeg1_audio_stream_parser.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_ADTS_STREAM_PARSER_H_ 5 #ifndef MEDIA_FORMATS_MPEG_ADTS_STREAM_PARSER_H_
6 #define MEDIA_FORMATS_MPEG_ADTS_STREAM_PARSER_H_ 6 #define MEDIA_FORMATS_MPEG_ADTS_STREAM_PARSER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "media/base/media_export.h" 9 #include "media/base/media_export.h"
10 #include "media/formats/mpeg/mpeg_audio_stream_parser_base.h" 10 #include "media/formats/mpeg/mpeg_audio_stream_parser_base.h"
11 11
12 namespace media { 12 namespace media {
13 13
14 class MEDIA_EXPORT ADTSStreamParser : public MPEGAudioStreamParserBase { 14 class MEDIA_EXPORT ADTSStreamParser : public MPEGAudioStreamParserBase {
15 public: 15 public:
16 ADTSStreamParser(); 16 ADTSStreamParser();
17 virtual ~ADTSStreamParser(); 17 virtual ~ADTSStreamParser();
18 18
19 private: 19 private:
20 // MPEGAudioStreamParserBase overrides. 20 // MPEGAudioStreamParserBase overrides.
21 virtual int ParseFrameHeader(const uint8* data, 21 virtual int ParseFrameHeader(const uint8* data,
22 int size, 22 int size,
23 int* frame_size, 23 int* frame_size,
24 int* sample_rate, 24 int* sample_rate,
25 ChannelLayout* channel_layout, 25 ChannelLayout* channel_layout,
26 int* sample_count, 26 int* sample_count,
27 bool* metadata_frame) const OVERRIDE; 27 bool* metadata_frame) const override;
28 28
29 DISALLOW_COPY_AND_ASSIGN(ADTSStreamParser); 29 DISALLOW_COPY_AND_ASSIGN(ADTSStreamParser);
30 }; 30 };
31 31
32 } // namespace media 32 } // namespace media
33 33
34 #endif // MEDIA_FORMATS_MPEG_ADTS_STREAM_PARSER_H_ 34 #endif // MEDIA_FORMATS_MPEG_ADTS_STREAM_PARSER_H_
OLDNEW
« no previous file with comments | « media/formats/mp4/mp4_stream_parser.h ('k') | media/formats/mpeg/mpeg1_audio_stream_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698