summaryrefslogtreecommitdiffstats
path: root/webkit/glue/weburlloader_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/weburlloader_impl.cc')
-rw-r--r--webkit/glue/weburlloader_impl.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/webkit/glue/weburlloader_impl.cc b/webkit/glue/weburlloader_impl.cc
index d1d17a4..710a84b 100644
--- a/webkit/glue/weburlloader_impl.cc
+++ b/webkit/glue/weburlloader_impl.cc
@@ -124,8 +124,14 @@ ResourceType::Type FromTargetType(WebURLRequest::TargetType type) {
return ResourceType::OBJECT;
case WebURLRequest::TargetIsMedia:
return ResourceType::MEDIA;
+ // TODO(michaeln): uncomment the following cases and the NOTREACHED() call
+ // when the webkit API has been committed and these constants are defined.
+ // case WebURLRequest::TargetIsWorker:
+ // return ResourceType::WORKER;
+ // case WebURLRequest::TargetIsSharedWorker:
+ // return ResourceType::SHARED_WORKER;
default:
- NOTREACHED();
+ // NOTREACHED();
return ResourceType::SUB_RESOURCE;
}
}