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

Unified Diff: content/browser/loader/resource_loader.cc

Issue 30323002: [DRAFT] Create RenderFrameHostManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 1 month 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
Index: content/browser/loader/resource_loader.cc
diff --git a/content/browser/loader/resource_loader.cc b/content/browser/loader/resource_loader.cc
index 94561ba3497ccbf1a709028b1240185b7124db47..0757b3ce281e7b6a64f255b69a6fef40e365769a 100644
--- a/content/browser/loader/resource_loader.cc
+++ b/content/browser/loader/resource_loader.cc
@@ -160,8 +160,10 @@ void ResourceLoader::ReportUploadProgress() {
}
void ResourceLoader::MarkAsTransferring(const GURL& target_url) {
- CHECK_EQ(GetRequestInfo()->GetResourceType(), ResourceType::MAIN_FRAME)
- << "Cannot transfer non-main frame navigations";
+ // TODO(creis): Why was this check here? Is it a problem for cookies?
davidben 2013/11/18 22:20:50 I actually came across that line some time ago and
+ CHECK(GetRequestInfo()->GetResourceType() == ResourceType::MAIN_FRAME ||
+ GetRequestInfo()->GetResourceType() == ResourceType::SUB_FRAME)
+ << "Can only transfer navigations";
is_transferring_ = true;
// When transferring a request to another process, the renderer doesn't get
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/browser/renderer_host/render_view_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698