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 6537022: Move media library path resolution into Chrome path provider. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: And again, this time with working tests... Created 9 years, 10 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
Index: media/base/media.h
diff --git a/media/base/media.h b/media/base/media.h
index 3d1a83a2dda2ada638191cb36a5725d3345c2d08..84312a7e24eb6d05c4878e988c6c8cc766460727 100644
--- a/media/base/media.h
+++ b/media/base/media.h
@@ -13,12 +13,14 @@ class FilePath;
namespace media {
// Attempts to initialize the media library (loading DLLs, DSOs, etc.).
+//
// If |module_dir| is the emptry string, then the system default library paths
// are searched for the dynamic libraries. If a |module_dir| is provided, then
// only the specified |module_dir| will be searched for the dynamic libraries.
-//
+void InitializeMediaLibrary(const FilePath& module_dir);
+
// Returns true if everything was successfully initialized, false otherwise.
-bool InitializeMediaLibrary(const FilePath& module_dir);
+bool IsMediaLibraryInitialized();
// Attempts to initialize OpenMAX library.
//

Powered by Google App Engine
This is Rietveld 408576698