OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef MEDIA_WEBM_CHROMEOS_EBML_WRITER_H_ | |
6 #define MEDIA_WEBM_CHROMEOS_EBML_WRITER_H_ | |
7 | |
8 #include "base/callback.h" | |
9 | |
10 // This struct serves as a bridge betweeen static libmkv interface and Chrome's | |
11 // base::Callback. Must be in the global namespace. See EbmlWriter.h. | |
12 struct EbmlGlobal { | |
13 base::Callback<void(const void* buffer, unsigned long len)> write_cb; | |
14 base::Callback<void(const void* buffer, int buffer_size, unsigned long len)> | |
15 serialize_cb; | |
16 }; | |
17 | |
18 #endif // MEDIA_WEBM_CHROMEOS_EBML_WRITER_H_ | |
OLD | NEW |