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

Unified Diff: media/base/media.h

Issue 7775004: Create media.dll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/h264_bitstream_converter.h ('k') | media/base/media_export.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media.h
===================================================================
--- media/base/media.h (revision 98516)
+++ media/base/media.h (working copy)
@@ -8,6 +8,8 @@
#ifndef MEDIA_BASE_MEDIA_H_
#define MEDIA_BASE_MEDIA_H_
+#include "media/base/media_export.h"
+
class FilePath;
namespace media {
@@ -23,16 +25,16 @@
// of the process.
//
// Returns true if everything was successfully initialized, false otherwise.
-bool InitializeMediaLibrary(const FilePath& module_dir);
+MEDIA_EXPORT bool InitializeMediaLibrary(const FilePath& module_dir);
// Helper function for unit tests to avoid boiler plate code everywhere. This
// function will crash if it fails to load the media library. This ensures tests
// fail if the media library is not available.
-void InitializeMediaLibraryForTesting();
+MEDIA_EXPORT void InitializeMediaLibraryForTesting();
// Use this if you need to check whether the media library is initialized
// for the this process, without actually trying to initialize it.
-bool IsMediaLibraryInitialized();
+MEDIA_EXPORT bool IsMediaLibraryInitialized();
// Attempts to initialize OpenMAX library.
//
« no previous file with comments | « media/base/h264_bitstream_converter.h ('k') | media/base/media_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698