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

Unified Diff: media/base/win/mf_initializer.h

Issue 1149203002: Extract re-usable InitializeMediaFoundation() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix linkage of InitializeMediaFoundation() in GN builds Created 5 years, 7 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/base/win/BUILD.gn ('k') | media/base/win/mf_initializer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « media/base/win/BUILD.gn ('k') | media/base/win/mf_initializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698