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

Unified Diff: chrome/browser/renderer_host/resource_dispatcher_host.cc

Issue 1666002: Add ResourceRequest target types for worker and shared workers.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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
« no previous file with comments | « no previous file | webkit/glue/resource_type.h » ('j') | webkit/glue/resource_type.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/resource_dispatcher_host.cc
===================================================================
--- chrome/browser/renderer_host/resource_dispatcher_host.cc (revision 45253)
+++ chrome/browser/renderer_host/resource_dispatcher_host.cc (working copy)
@@ -1780,6 +1780,8 @@
case ResourceType::SUB_RESOURCE:
case ResourceType::OBJECT:
case ResourceType::MEDIA:
+ case ResourceType::WORKER:
+ case ResourceType::SHARED_WORKER:
return net::LOW;
// Images are the lowest priority because they typically do not block
« no previous file with comments | « no previous file | webkit/glue/resource_type.h » ('j') | webkit/glue/resource_type.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698