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

Unified Diff: content/shell/shell_main_delegate.cc

Issue 9316077: Enable audio/video tag in content_shell (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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: content/shell/shell_main_delegate.cc
diff --git a/content/shell/shell_main_delegate.cc b/content/shell/shell_main_delegate.cc
index f914e8dac64d4ae7b33a67616b82efc22dd9b557..6b8dc4f639febcff9e83cfd5e7fc9824e1889e43 100644
--- a/content/shell/shell_main_delegate.cc
+++ b/content/shell/shell_main_delegate.cc
@@ -13,6 +13,7 @@
#include "content/shell/shell_content_renderer_client.h"
#include "content/shell/shell_content_utility_client.h"
#include "content/shell/shell_render_process_observer.h"
+#include "media/base/media.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/base/ui_base_paths.h"
@@ -67,6 +68,9 @@ bool ShellMainDelegate::DelaySandboxInitialization(
#elif defined(OS_POSIX)
content::ZygoteForkDelegate* ShellMainDelegate::ZygoteStarting() {
+ FilePath media_path;
jam 2012/02/03 00:49:44 in general, we want embedders to have to do as lea
vrk (LEFT CHROMIUM) 2012/03/06 02:07:50 Done.
+ if (PathService::Get(base::DIR_MODULE, &media_path))
+ media::InitializeMediaLibrary(media_path);
return NULL;
}

Powered by Google App Engine
This is Rietveld 408576698