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

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

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: windows fixes Created 9 years, 9 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 | « chrome/browser/gears_integration.cc ('k') | chrome/browser/resources/options/advanced_options.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/browser_render_process_host.cc
diff --git a/chrome/browser/renderer_host/browser_render_process_host.cc b/chrome/browser/renderer_host/browser_render_process_host.cc
index 08317f7f7c08ca518553fc08e971f97eedfd347a..dcb8ba795ae49438b051c0ac1b595a6d05ba9b19 100644
--- a/chrome/browser/renderer_host/browser_render_process_host.cc
+++ b/chrome/browser/renderer_host/browser_render_process_host.cc
@@ -101,6 +101,7 @@
#include "media/base/media_switches.h"
#include "ui/base/ui_base_switches.h"
#include "webkit/fileapi/file_system_path_manager.h"
+#include "webkit/glue/resource_type.h"
#include "webkit/plugins/plugin_switches.h"
#if defined(OS_WIN)
@@ -247,12 +248,12 @@ class RendererURLRequestContextOverride
}
virtual net::URLRequestContext* GetRequestContext(
- const ResourceHostMsg_Request& resource_request) {
+ ResourceType::Type resource_type) {
URLRequestContextGetter* request_context = request_context_;
// If the request has resource type of ResourceType::MEDIA, we use a request
// context specific to media for handling it because these resources have
// specific needs for caching.
- if (resource_request.resource_type == ResourceType::MEDIA)
+ if (resource_type == ResourceType::MEDIA)
request_context = media_request_context_;
return request_context->GetURLRequestContext();
}
« no previous file with comments | « chrome/browser/gears_integration.cc ('k') | chrome/browser/resources/options/advanced_options.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698