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.
5 #ifndef MEDIA_WEBM_CHROMEOS_EBML_WRITER_H_
6 #define MEDIA_WEBM_CHROMEOS_EBML_WRITER_H_
8 #include "base/callback.h"
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.
16 base::Callback
<void(const void* buffer
, unsigned long len
)> write_cb
;
17 base::Callback
<void(const void* buffer
, int buffer_size
, unsigned long len
)>
21 #endif // MEDIA_WEBM_CHROMEOS_EBML_WRITER_H_