diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-03 00:53:35 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-03 00:53:35 +0000 |
commit | c0b332b0558f47039aa7c56d26ebc3ed364e7d4d (patch) | |
tree | c0c16d9b6c1209e2538d11f1f12a89f8330412ec /webkit/glue/resource_handle_impl.cc | |
parent | 2667e87f35afb1c75d80cff70696d8fd71e512cf (diff) | |
download | chromium_src-c0b332b0558f47039aa7c56d26ebc3ed364e7d4d.zip chromium_src-c0b332b0558f47039aa7c56d26ebc3ed364e7d4d.tar.gz chromium_src-c0b332b0558f47039aa7c56d26ebc3ed364e7d4d.tar.bz2 |
Add a MEDIA resource to webkit port and glue code so that
we can have special handlings on media resources
Review URL: http://codereview.chromium.org/12858
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6262 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/resource_handle_impl.cc')
-rw-r--r-- | webkit/glue/resource_handle_impl.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/glue/resource_handle_impl.cc b/webkit/glue/resource_handle_impl.cc index 37528d6..322e0b8 100644 --- a/webkit/glue/resource_handle_impl.cc +++ b/webkit/glue/resource_handle_impl.cc @@ -75,6 +75,8 @@ static ResourceType::Type FromTargetType(ResourceRequest::TargetType type) { return ResourceType::SUB_RESOURCE; case ResourceRequest::TargetIsObject: return ResourceType::OBJECT; + case ResourceRequest::TargetIsMedia: + return ResourceType::MEDIA; default: NOTREACHED(); return ResourceType::SUB_RESOURCE; |