diff options
Diffstat (limited to 'chromium/third_party/blink/public/platform/web_resource_request_sender.h')
-rw-r--r-- | chromium/third_party/blink/public/platform/web_resource_request_sender.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/chromium/third_party/blink/public/platform/web_resource_request_sender.h b/chromium/third_party/blink/public/platform/web_resource_request_sender.h index 5a5d5ec9e73..d5a3a3af0a7 100644 --- a/chromium/third_party/blink/public/platform/web_resource_request_sender.h +++ b/chromium/third_party/blink/public/platform/web_resource_request_sender.h @@ -87,15 +87,12 @@ class BLINK_PLATFORM_EXPORT WebResourceRequestSender { // interrupt this method. Errors are reported via the status field of the // response parameter. // - // |routing_id| is used to associated the bridge with a frame's network - // context. // |timeout| is used to abort the sync request on timeouts. TimeDelta::Max() // is interpreted as no-timeout. // If |download_to_blob_registry| is not null, it is used to redirect the // download to a blob. virtual void SendSync( std::unique_ptr<network::ResourceRequest> request, - int routing_id, const net::NetworkTrafficAnnotationTag& traffic_annotation, uint32_t loader_options, SyncLoadResponse* response, @@ -114,14 +111,10 @@ class BLINK_PLATFORM_EXPORT WebResourceRequestSender { // the peer's methods will be called asynchronously to report various events. // Returns the request id. |url_loader_factory| must be non-null. // - // |routing_id| is used to associated the bridge with a frame's network - // context. - // // You need to pass a non-null |loading_task_runner| to specify task queue to // execute loading tasks on. virtual int SendAsync( std::unique_ptr<network::ResourceRequest> request, - int routing_id, scoped_refptr<base::SingleThreadTaskRunner> loading_task_runner, const net::NetworkTrafficAnnotationTag& traffic_annotation, uint32_t loader_options, @@ -180,7 +173,6 @@ class BLINK_PLATFORM_EXPORT WebResourceRequestSender { struct PendingRequestInfo { PendingRequestInfo(scoped_refptr<WebRequestPeer> peer, network::mojom::RequestDestination request_destination, - int render_frame_id, const GURL& request_url, std::unique_ptr<ResourceLoadInfoNotifierWrapper> resource_load_info_notifier_wrapper); @@ -189,7 +181,6 @@ class BLINK_PLATFORM_EXPORT WebResourceRequestSender { scoped_refptr<WebRequestPeer> peer; network::mojom::RequestDestination request_destination; - int render_frame_id; WebURLLoader::DeferType is_deferred = WebURLLoader::DeferType::kNotDeferred; // Original requested url. GURL url; @@ -224,7 +215,9 @@ class BLINK_PLATFORM_EXPORT WebResourceRequestSender { // Follows redirect, if any, for the given request. void FollowPendingRedirect(PendingRequestInfo* request_info); - void ToLocalURLResponseHead( + // Converts remote times in the response head to local times. Returns the + // converted response start time. + base::TimeTicks ToLocalURLResponseHead( const PendingRequestInfo& request_info, network::mojom::URLResponseHead& response_head) const; |