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

Unified Diff: content/shell/shell_resource_context.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_resource_context.cc
diff --git a/content/shell/shell_resource_context.cc b/content/shell/shell_resource_context.cc
index fa725cf89b5463b8c69e65e1b9b83cb723654ec9..d3579e42fdda4e94cffb5c5a909f17b6447c2d8c 100644
--- a/content/shell/shell_resource_context.cc
+++ b/content/shell/shell_resource_context.cc
@@ -11,9 +11,11 @@ namespace content {
ShellResourceContext::ShellResourceContext(
ShellURLRequestContextGetter* getter,
- ChromeBlobStorageContext* blob_storage_context)
+ ChromeBlobStorageContext* blob_storage_context,
+ AudioManager* audio_manager)
: getter_(getter),
- blob_storage_context_(blob_storage_context) {
+ blob_storage_context_(blob_storage_context),
+ audio_manager_(audio_manager) {
}
ShellResourceContext::~ShellResourceContext() {
@@ -27,6 +29,7 @@ void ShellResourceContext::InitializeInternal() {
set_request_context(getter_->GetURLRequestContext());
set_host_resolver(getter_->host_resolver());
set_blob_storage_context(blob_storage_context_);
+ set_audio_manager(audio_manager_);
}
} // namespace content
« content/shell/shell_render_process_observer.cc ('K') | « content/shell/shell_resource_context.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698