| 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_WEBM_CLUSTER_BUILDER_H_ | 5 #ifndef MEDIA_FORMATS_WEBM_CLUSTER_BUILDER_H_ |
| 6 #define MEDIA_FORMATS_WEBM_CLUSTER_BUILDER_H_ | 6 #define MEDIA_FORMATS_WEBM_CLUSTER_BUILDER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "base/macros.h" | 10 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 10 | 12 |
| 11 namespace media { | 13 namespace media { |
| 12 | 14 |
| 13 class Cluster { | 15 class Cluster { |
| 14 public: | 16 public: |
| 15 Cluster(scoped_ptr<uint8_t[]> data, int size); | 17 Cluster(scoped_ptr<uint8_t[]> data, int size); |
| 16 ~Cluster(); | 18 ~Cluster(); |
| 17 | 19 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 int buffer_size_; | 75 int buffer_size_; |
| 74 int bytes_used_; | 76 int bytes_used_; |
| 75 int64_t cluster_timecode_; | 77 int64_t cluster_timecode_; |
| 76 | 78 |
| 77 DISALLOW_COPY_AND_ASSIGN(ClusterBuilder); | 79 DISALLOW_COPY_AND_ASSIGN(ClusterBuilder); |
| 78 }; | 80 }; |
| 79 | 81 |
| 80 } // namespace media | 82 } // namespace media |
| 81 | 83 |
| 82 #endif // MEDIA_FORMATS_WEBM_CLUSTER_BUILDER_H_ | 84 #endif // MEDIA_FORMATS_WEBM_CLUSTER_BUILDER_H_ |
| OLD | NEW |