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

Unified Diff: chrome/browser/chromeos/ebml_writer.h

Issue 10784037: [cros] Implement WebM encoder/muxer for animated avatar capture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes Created 8 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 | « no previous file | chrome/browser/chromeos/ebml_writer.cc » ('j') | chrome/browser/chromeos/webm_encoder.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/ebml_writer.h
diff --git a/chrome/browser/chromeos/ebml_writer.h b/chrome/browser/chromeos/ebml_writer.h
new file mode 100644
index 0000000000000000000000000000000000000000..6c73ee6c2f0d6519150c73a46dba613bdce1294e
--- /dev/null
+++ b/chrome/browser/chromeos/ebml_writer.h
@@ -0,0 +1,18 @@
+// Copyright (c) 2012 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 CHROME_BROWSER_CHROMEOS_EBML_WRITER_H_
+#define CHROME_BROWSER_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 {
+ 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 // CHROME_BROWSER_CHROMEOS_EBML_WRITER_H_
« no previous file with comments | « no previous file | chrome/browser/chromeos/ebml_writer.cc » ('j') | chrome/browser/chromeos/webm_encoder.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698