cc: Added inline to Tile::IsReadyToDraw
[chromium-blink-merge.git] / media / webm / chromeos / ebml_writer.h
blob0714ebf164198c93b78a575a4aa9a71fcf52c9f5
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.
12 struct EbmlGlobal {
13 EbmlGlobal();
14 ~EbmlGlobal();
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)>
18 serialize_cb;
21 #endif // MEDIA_WEBM_CHROMEOS_EBML_WRITER_H_