Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1149)

Unified Diff: media/formats/webm/chromeos/ebml_writer.h

Issue 411523005: Revert of Clean up. Experimental user avatars removed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/formats/webm/chromeos/DEPS ('k') | media/formats/webm/chromeos/ebml_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/webm/chromeos/ebml_writer.h
diff --git a/media/formats/webm/chromeos/ebml_writer.h b/media/formats/webm/chromeos/ebml_writer.h
new file mode 100644
index 0000000000000000000000000000000000000000..3c1faa042970e44c63d30dbd4328649b7c48822a
--- /dev/null
+++ b/media/formats/webm/chromeos/ebml_writer.h
@@ -0,0 +1,21 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MEDIA_FORMATS_WEBM_CHROMEOS_EBML_WRITER_H_
+#define MEDIA_FORMATS_WEBM_CHROMEOS_EBML_WRITER_H_
+
+#include "base/callback.h"
+
+// This struct serves as a bridge betweeen static libmkv interface and Chrome's
+// base::Callback. Must be in the global namespace. See EbmlWriter.h.
+struct EbmlGlobal {
+ EbmlGlobal();
+ ~EbmlGlobal();
+
+ base::Callback<void(const void* buffer, unsigned long len)> write_cb;
+ base::Callback<void(const void* buffer, int buffer_size, unsigned long len)>
+ serialize_cb;
+};
+
+#endif // MEDIA_FORMATS_WEBM_CHROMEOS_EBML_WRITER_H_
« no previous file with comments | « media/formats/webm/chromeos/DEPS ('k') | media/formats/webm/chromeos/ebml_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698