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

Side by Side Diff: media/formats/mp2t/ts_section_pmt.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/mp2t/ts_section_pes.h ('k') | media/formats/mp2t/ts_section_psi.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_MP2T_TS_SECTION_PMT_H_ 5 #ifndef MEDIA_FORMATS_MP2T_TS_SECTION_PMT_H_
6 #define MEDIA_FORMATS_MP2T_TS_SECTION_PMT_H_ 6 #define MEDIA_FORMATS_MP2T_TS_SECTION_PMT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "media/formats/mp2t/ts_section_psi.h" 10 #include "media/formats/mp2t/ts_section_psi.h"
11 11
12 namespace media { 12 namespace media {
13 namespace mp2t { 13 namespace mp2t {
14 14
15 class TsSectionPmt : public TsSectionPsi { 15 class TsSectionPmt : public TsSectionPsi {
16 public: 16 public:
17 // RegisterPesCb::Run(int pes_pid, int stream_type); 17 // RegisterPesCb::Run(int pes_pid, int stream_type);
18 // Stream type is defined in 18 // Stream type is defined in
19 // "Table 2-34 – Stream type assignments" in H.222 19 // "Table 2-34 – Stream type assignments" in H.222
20 // TODO(damienv): add the program number. 20 // TODO(damienv): add the program number.
21 typedef base::Callback<void(int, int)> RegisterPesCb; 21 typedef base::Callback<void(int, int)> RegisterPesCb;
22 22
23 explicit TsSectionPmt(const RegisterPesCb& register_pes_cb); 23 explicit TsSectionPmt(const RegisterPesCb& register_pes_cb);
24 virtual ~TsSectionPmt(); 24 virtual ~TsSectionPmt();
25 25
26 // Mpeg2TsPsiParser implementation. 26 // Mpeg2TsPsiParser implementation.
27 virtual bool ParsePsiSection(BitReader* bit_reader) OVERRIDE; 27 virtual bool ParsePsiSection(BitReader* bit_reader) override;
28 virtual void ResetPsiSection() OVERRIDE; 28 virtual void ResetPsiSection() override;
29 29
30 private: 30 private:
31 RegisterPesCb register_pes_cb_; 31 RegisterPesCb register_pes_cb_;
32 32
33 DISALLOW_COPY_AND_ASSIGN(TsSectionPmt); 33 DISALLOW_COPY_AND_ASSIGN(TsSectionPmt);
34 }; 34 };
35 35
36 } // namespace mp2t 36 } // namespace mp2t
37 } // namespace media 37 } // namespace media
38 38
39 #endif 39 #endif
40 40
OLDNEW
« no previous file with comments | « media/formats/mp2t/ts_section_pes.h ('k') | media/formats/mp2t/ts_section_psi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698