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

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

Issue 2960023002: Remove SupportsUserData from ResourceRequestBodyImpl. (Closed)
Patch Set: Merge, response to comment Created 3 years, 6 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/browser/loader/DEPS ('k') | content/browser/loader/resource_dispatcher_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/navigation_url_loader_network_service.cc
diff --git a/content/browser/loader/navigation_url_loader_network_service.cc b/content/browser/loader/navigation_url_loader_network_service.cc
index 5c54eb9c616a6cdcbbe594d2b8f30c1a8bc382f7..f66285970285324cb9c8c1694d26d0ead809b102 100644
--- a/content/browser/loader/navigation_url_loader_network_service.cc
+++ b/content/browser/loader/navigation_url_loader_network_service.cc
@@ -125,8 +125,8 @@ class NavigationURLLoaderNetworkService::URLLoaderRequestController
: RESOURCE_TYPE_SUB_FRAME;
if (resource_request_->request_body) {
- AttachRequestBodyBlobDataHandles(resource_request_->request_body.get(),
- resource_context_);
+ GetBodyBlobDataHandles(resource_request_->request_body.get(),
+ resource_context_, &blob_handles_);
}
// Requests to WebUI scheme won't get redirected to/from other schemes
@@ -297,13 +297,15 @@ class NavigationURLLoaderNetworkService::URLLoaderRequestController
std::unique_ptr<ThrottlingURLLoader> url_loader_;
- // This is referenced only on the UI thread.
- base::WeakPtr<NavigationURLLoaderNetworkService> owner_;
+ BlobHandles blob_handles_;
// Currently used by the AppCache loader to pass its factory to the
// renderer which enables it to handle subresources.
mojom::URLLoaderFactoryPtrInfo subresource_url_loader_factory_ptr_info_;
+ // This is referenced only on the UI thread.
+ base::WeakPtr<NavigationURLLoaderNetworkService> owner_;
+
DISALLOW_COPY_AND_ASSIGN(URLLoaderRequestController);
};
« no previous file with comments | « content/browser/loader/DEPS ('k') | content/browser/loader/resource_dispatcher_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698