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

Unified Diff: chrome/renderer/chrome_render_process_observer.cc

Issue 9316077: Enable audio/video tag in content_shell (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix content_unittests Created 8 years, 9 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 | « chrome/renderer/chrome_render_process_observer.h ('k') | content/app/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/chrome_render_process_observer.cc
diff --git a/chrome/renderer/chrome_render_process_observer.cc b/chrome/renderer/chrome_render_process_observer.cc
index ed58e72b50d51e022889f08a343d1b6f32c7aacf..e6c36e8c33feea7af07be5b3d74218ad7053874e 100644
--- a/chrome/renderer/chrome_render_process_observer.cc
+++ b/chrome/renderer/chrome_render_process_observer.cc
@@ -28,7 +28,6 @@
#include "content/public/renderer/render_view_visitor.h"
#include "content/public/renderer/render_view.h"
#include "crypto/nss_util.h"
-#include "media/base/media.h"
#include "media/base/media_switches.h"
#include "net/base/net_errors.h"
#include "net/base/net_module.h"
@@ -223,13 +222,6 @@ ChromeRenderProcessObserver::ChromeRenderProcessObserver(
std::string error;
base::LoadNativeLibrary(FilePath(L"crypt32.dll"), &error);
#endif
-
- // Note that under Linux, the media library will normally already have
- // been initialized by the Zygote before this instance became a Renderer.
- FilePath media_path;
- PathService::Get(chrome::DIR_MEDIA_LIBS, &media_path);
- if (!media_path.empty())
- media::InitializeMediaLibrary(media_path);
}
ChromeRenderProcessObserver::~ChromeRenderProcessObserver() {
@@ -263,10 +255,6 @@ bool ChromeRenderProcessObserver::OnControlMessageReceived(
return handled;
}
-void ChromeRenderProcessObserver::WebKitInitialized() {
- WebRuntimeFeatures::enableMediaPlayer(media::IsMediaLibraryInitialized());
-}
-
void ChromeRenderProcessObserver::OnSetIsIncognitoProcess(
bool is_incognito_process) {
is_incognito_process_ = is_incognito_process;
« no previous file with comments | « chrome/renderer/chrome_render_process_observer.h ('k') | content/app/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698