summaryrefslogtreecommitdiffstats
path: root/webkit/glue/weburlloader_impl.cc
diff options
context:
space:
mode:
authormichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-05 00:59:54 +0000
committermichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-05 00:59:54 +0000
commit87e6564011c57a6760dd6a2f90afc419b37967ae (patch)
treec6ae36d6ac1204acecdb00d3af7a60562f9121bc /webkit/glue/weburlloader_impl.cc
parent425da01739bb4ba95300fdbdbaba87db1f493253 (diff)
downloadchromium_src-87e6564011c57a6760dd6a2f90afc419b37967ae.zip
chromium_src-87e6564011c57a6760dd6a2f90afc419b37967ae.tar.gz
chromium_src-87e6564011c57a6760dd6a2f90afc419b37967ae.tar.bz2
Cleaning up after a webkit roll.
BUG=39368 TEST=n/a Review URL: http://codereview.chromium.org/1912007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46425 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/weburlloader_impl.cc')
-rw-r--r--webkit/glue/weburlloader_impl.cc12
1 files changed, 5 insertions, 7 deletions
diff --git a/webkit/glue/weburlloader_impl.cc b/webkit/glue/weburlloader_impl.cc
index 0b5697a..43b0edc 100644
--- a/webkit/glue/weburlloader_impl.cc
+++ b/webkit/glue/weburlloader_impl.cc
@@ -125,14 +125,12 @@ 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;
+ case WebURLRequest::TargetIsWorker:
+ return ResourceType::WORKER;
+ case WebURLRequest::TargetIsSharedWorker:
+ return ResourceType::SHARED_WORKER;
default:
- // NOTREACHED();
+ NOTREACHED();
return ResourceType::SUB_RESOURCE;
}
}