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

Unified Diff: content/common/resource_dispatcher.cc

Issue 7624031: Treat files downloaded from the address bar as "always safe" (including extensions per discussion... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 | « content/common/request_extra_data.cc ('k') | content/common/resource_dispatcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/resource_dispatcher.cc
===================================================================
--- content/common/resource_dispatcher.cc (revision 98485)
+++ content/common/resource_dispatcher.cc (working copy)
@@ -98,10 +98,12 @@
RequestExtraData* extra_data =
static_cast<RequestExtraData*>(request_info.extra_data);
request_.is_main_frame = extra_data->is_main_frame();
- request_.frame_id = extra_data->frame_identifier();
+ request_.frame_id = extra_data->frame_id();
+ request_.transition_type = extra_data->transition_type();
} else {
request_.is_main_frame = false;
request_.frame_id = -1;
+ request_.transition_type = PageTransition::LINK;
}
}
« no previous file with comments | « content/common/request_extra_data.cc ('k') | content/common/resource_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698