| Index: media/base/media_win.cc
|
| diff --git a/media/base/media_win.cc b/media/base/media_win.cc
|
| index a58d977fe6b99dd5512a09cdcfbccd4568587ee7..26e4a8bb7a1570d2e93d2b690b38735c406e0f46 100644
|
| --- a/media/base/media_win.cc
|
| +++ b/media/base/media_win.cc
|
| @@ -78,6 +78,12 @@ bool InitializeMediaLibrary(const FilePath& base_path) {
|
| return g_media_library_is_initialized;
|
| }
|
|
|
| +void InitializeMediaLibraryForTesting() {
|
| + FilePath file_path;
|
| + CHECK(PathService::Get(base::DIR_SOURCE_ROOT, &file_path));
|
| + CHECK(InitializeMediaLibrary(file_path));
|
| +}
|
| +
|
| bool IsMediaLibraryInitialized() {
|
| return g_media_library_is_initialized;
|
| }
|
|
|