diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-29 06:53:57 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-29 06:53:57 +0000 |
commit | 3e21bd00219f2dd475f36cad70c7e8e5a6c90a4e (patch) | |
tree | a666f584af965358e59dbb99d51f4e1ede810f61 /media/base/media.h | |
parent | 80afbdbf6432bae199da3ef53dc02de7160585cc (diff) | |
download | chromium_src-3e21bd00219f2dd475f36cad70c7e8e5a6c90a4e.zip chromium_src-3e21bd00219f2dd475f36cad70c7e8e5a6c90a4e.tar.gz chromium_src-3e21bd00219f2dd475f36cad70c7e8e5a6c90a4e.tar.bz2 |
Create media.dll / libmedia.so.
This is a re-attempt at landing http://codereview.chromium.org/7572040, now with a DEPS roll to pick up the changes made to ffmpeg by http://codereview.chromium.org/7778004/ so that media_unittests run properly on Linux.
TBR=fischman
Review URL: http://codereview.chromium.org/7775004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98600 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/media.h')
-rw-r--r-- | media/base/media.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/media/base/media.h b/media/base/media.h index bd25cbb..2c8b765 100644 --- a/media/base/media.h +++ b/media/base/media.h @@ -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 @@ namespace media { // 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. // |