| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BASE_BIT_READER_H_ | 5 #ifndef MEDIA_BASE_BIT_READER_H_ |
| 6 #define MEDIA_BASE_BIT_READER_H_ | 6 #define MEDIA_BASE_BIT_READER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 11 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 11 #include "media/base/bit_reader_core.h" | 13 #include "media/base/bit_reader_core.h" |
| 12 #include "media/base/media_export.h" | 14 #include "media/base/media_export.h" |
| 13 | 15 |
| 14 namespace media { | 16 namespace media { |
| 15 | 17 |
| 16 class MEDIA_EXPORT BitReader | 18 class MEDIA_EXPORT BitReader |
| 17 : NON_EXPORTED_BASE(private BitReaderCore::ByteStreamProvider) { | 19 : NON_EXPORTED_BASE(private BitReaderCore::ByteStreamProvider) { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 int bytes_left_; | 57 int bytes_left_; |
| 56 | 58 |
| 57 BitReaderCore bit_reader_core_; | 59 BitReaderCore bit_reader_core_; |
| 58 | 60 |
| 59 DISALLOW_COPY_AND_ASSIGN(BitReader); | 61 DISALLOW_COPY_AND_ASSIGN(BitReader); |
| 60 }; | 62 }; |
| 61 | 63 |
| 62 } // namespace media | 64 } // namespace media |
| 63 | 65 |
| 64 #endif // MEDIA_BASE_BIT_READER_H_ | 66 #endif // MEDIA_BASE_BIT_READER_H_ |
| OLD | NEW |