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

Unified Diff: chrome/common/resource_dispatcher.cc

Issue 113069: Content-Dispositon handling fix #2. Still WiP. Uploading as a check point.... Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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/common/resource_dispatcher.h ('k') | chrome/plugin/chrome_plugin_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/resource_dispatcher.cc
===================================================================
--- chrome/common/resource_dispatcher.cc (revision 15413)
+++ chrome/common/resource_dispatcher.cc (working copy)
@@ -56,7 +56,8 @@
ResourceType::Type resource_type,
uint32 request_context,
int app_cache_context_id,
- int route_id);
+ int route_id,
+ const std::string& disposition_fallback_charset);
virtual ~IPCResourceLoaderBridge();
// ResourceLoaderBridge
@@ -110,7 +111,8 @@
ResourceType::Type resource_type,
uint32 request_context,
int app_cache_context_id,
- int route_id)
+ int route_id,
+ const std::string& disposition_fallback_charset)
: peer_(NULL),
dispatcher_(dispatcher),
request_id_(-1),
@@ -128,6 +130,7 @@
request_.resource_type = resource_type;
request_.request_context = request_context;
request_.app_cache_context_id = app_cache_context_id;
+ request_.disposition_fallback_charset = disposition_fallback_charset;
#ifdef LOG_RESOURCE_REQUESTS
url_ = url.possibly_invalid_spec();
@@ -531,7 +534,8 @@
ResourceType::Type resource_type,
uint32 request_context,
int app_cache_context_id,
- int route_id) {
+ int route_id,
+ const std::string& disposition_fallback_charset) {
return new webkit_glue::IPCResourceLoaderBridge(this, method, url, policy_url,
referrer, frame_origin,
main_frame_origin, headers,
@@ -539,7 +543,8 @@
resource_type,
request_context,
app_cache_context_id,
- route_id);
+ route_id,
+ disposition_fallback_charset);
}
bool ResourceDispatcher::IsResourceDispatcherMessage(
« no previous file with comments | « chrome/common/resource_dispatcher.h ('k') | chrome/plugin/chrome_plugin_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698