summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host
diff options
context:
space:
mode:
authormichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-26 23:52:47 +0000
committermichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-26 23:52:47 +0000
commit032dea757076b465d613314736095ce82c542c1b (patch)
tree584cf2e9705569998e6f8a928dc83adf6d27ca7b /chrome/browser/renderer_host
parentd7a18ecba12b794e797762a701b96bed84467dcb (diff)
downloadchromium_src-032dea757076b465d613314736095ce82c542c1b.zip
chromium_src-032dea757076b465d613314736095ce82c542c1b.tar.gz
chromium_src-032dea757076b465d613314736095ce82c542c1b.tar.bz2
Ground work for making appcaches work in workers.
Add ResourceRequest target types for worker and shared worker resources. This is the first patch of a two-sided change that involves WebKit API changes which haven't been made yet. BUG=39368 TEST=none Review URL: http://codereview.chromium.org/1666002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45643 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host')
-rw-r--r--chrome/browser/renderer_host/resource_dispatcher_host.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/renderer_host/resource_dispatcher_host.cc b/chrome/browser/renderer_host/resource_dispatcher_host.cc
index 8ba1962..e2278cb 100644
--- a/chrome/browser/renderer_host/resource_dispatcher_host.cc
+++ b/chrome/browser/renderer_host/resource_dispatcher_host.cc
@@ -1780,6 +1780,8 @@ net::RequestPriority ResourceDispatcherHost::DetermineRequestPriority(
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