summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/media
diff options
context:
space:
mode:
authormichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-07 17:45:54 +0000
committermichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-07 17:45:54 +0000
commit1edc16b82bd98eb06188a94e62c668d439035e6e (patch)
tree3edaea7ad20c2981febbc5e081bb2d499d97e671 /chrome/renderer/media
parent7d769c36ccaf6663c49e3c89d959a47b9449f68a (diff)
downloadchromium_src-1edc16b82bd98eb06188a94e62c668d439035e6e.zip
chromium_src-1edc16b82bd98eb06188a94e62c668d439035e6e.tar.gz
chromium_src-1edc16b82bd98eb06188a94e62c668d439035e6e.tar.bz2
Adds new messages and widens some existing messages between the renderer and browser processes to support an implementation of the HTML5AppCache spec with most of the logic running in the browser process. The gist of most of the changes are to indicate which frame each resource request is coming from, and to indicate which appcache each response was retrieved from (if any).See https://docs.google.com/a/google.com/Doc?docid=agv6ghfsqr_15f749cgt3&hl=en
Review URL: http://codereview.chromium.org/9712 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13258 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/media')
-rw-r--r--chrome/renderer/media/data_source_impl.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/renderer/media/data_source_impl.cc b/chrome/renderer/media/data_source_impl.cc
index 9ee3331..20aee22 100644
--- a/chrome/renderer/media/data_source_impl.cc
+++ b/chrome/renderer/media/data_source_impl.cc
@@ -13,6 +13,7 @@
#include "media/base/pipeline.h"
#include "net/base/load_flags.h"
#include "net/base/net_errors.h"
+#include "webkit/glue/webappcachecontext.h"
DataSourceImpl::DataSourceImpl(WebMediaPlayerDelegateImpl* delegate)
: delegate_(delegate),
@@ -215,6 +216,10 @@ void DataSourceImpl::OnInitialize(std::string uri) {
base::GetCurrentProcId(),
ResourceType::MEDIA,
0,
+ // TODO(michaeln): delegate->mediaplayer->frame->
+ // app_cache_context()->context_id()
+ // For now don't service media resource requests from the appcache.
+ WebAppCacheContext::kNoAppCacheContextId,
delegate_->view()->routing_id());
// Start the resource loading.
resource_loader_bridge_->Start(this);