| OLD | NEW |
| 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_PAT_H_ | 5 #ifndef MEDIA_FORMATS_MP2T_TS_SECTION_PAT_H_ |
| 6 #define MEDIA_FORMATS_MP2T_TS_SECTION_PAT_H_ | 6 #define MEDIA_FORMATS_MP2T_TS_SECTION_PAT_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 "base/macros.h" |
| 10 #include "media/formats/mp2t/ts_section_psi.h" | 11 #include "media/formats/mp2t/ts_section_psi.h" |
| 11 | 12 |
| 12 namespace media { | 13 namespace media { |
| 13 namespace mp2t { | 14 namespace mp2t { |
| 14 | 15 |
| 15 class TsSectionPat : public TsSectionPsi { | 16 class TsSectionPat : public TsSectionPsi { |
| 16 public: | 17 public: |
| 17 // RegisterPmtCb::Run(int program_number, int pmt_pid); | 18 // RegisterPmtCb::Run(int program_number, int pmt_pid); |
| 18 typedef base::Callback<void(int, int)> RegisterPmtCb; | 19 typedef base::Callback<void(int, int)> RegisterPmtCb; |
| 19 | 20 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 31 int version_number_; | 32 int version_number_; |
| 32 | 33 |
| 33 DISALLOW_COPY_AND_ASSIGN(TsSectionPat); | 34 DISALLOW_COPY_AND_ASSIGN(TsSectionPat); |
| 34 }; | 35 }; |
| 35 | 36 |
| 36 } // namespace mp2t | 37 } // namespace mp2t |
| 37 } // namespace media | 38 } // namespace media |
| 38 | 39 |
| 39 #endif | 40 #endif |
| 40 | 41 |
| OLD | NEW |