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

Unified Diff: content/browser/loader/resource_dispatcher_host_impl.h

Issue 2829923004: Fail when uploading blob is non-existant (Closed)
Patch Set: reworked to be exactly the same, logically Created 3 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
Index: content/browser/loader/resource_dispatcher_host_impl.h
diff --git a/content/browser/loader/resource_dispatcher_host_impl.h b/content/browser/loader/resource_dispatcher_host_impl.h
index 08add8413d7d4b6e469b5702128652c052c7fd18..e2ce95eb063367a724db6fc28afca9d7200fc4a4 100644
--- a/content/browser/loader/resource_dispatcher_host_impl.h
+++ b/content/browser/loader/resource_dispatcher_host_impl.h
@@ -54,6 +54,7 @@ class HttpRequestHeaders;
}
namespace storage {
+class BlobStorageContext;
class FileSystemContext;
class ShareableFileReference;
}
@@ -571,6 +572,7 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
// decisions which could be time consuming. We allow for these decisions
// to be made asynchronously. The request proceeds when we hear back from
// the interceptors about whether to continue or not.
+ // The |blob_context| is always null if this is a navigation a stream request.
// The |interceptor_result| indicates whether the request should be continued
// or aborted, and in the latter case whether the renderer should be killed.
void ContinuePendingBeginRequest(
@@ -582,6 +584,7 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
const net::HttpRequestHeaders& headers,
mojom::URLLoaderRequest mojo_request,
mojom::URLLoaderClientPtr url_loader_client,
+ storage::BlobStorageContext* blob_context,
HeaderInterceptorResult interceptor_result);
// Creates a ResourceHandler to be used by BeginRequest() for normal resource

Powered by Google App Engine
This is Rietveld 408576698