Index: media/base/win/mf_initializer.h |
diff --git a/media/base/win/mf_initializer.h b/media/base/win/mf_initializer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4c10d6adce86f841dbf37e4cf823559d909cc8b3 |
--- /dev/null |
+++ b/media/base/win/mf_initializer.h |
@@ -0,0 +1,18 @@ |
+// Copyright 2015 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_BASE_WIN_MF_INITIALIZER_H_ |
+#define MEDIA_BASE_WIN_MF_INITIALIZER_H_ |
+ |
+#include "media/base/media_export.h" |
+ |
+namespace media { |
+ |
+// Makes sure MFStartup() is called exactly once, and that this call is paired |
+// by a call to MFShutdown(). |
+MEDIA_EXPORT void InitializeMediaFoundation(); |
+ |
+} // namespace media |
+ |
+#endif // MEDIA_BASE_WIN_MF_INITIALIZER_H_ |