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

Unified Diff: content/browser/appcache/appcache_subresource_url_factory.h

Issue 2991443002: The Appcache subresource URL factory needs to inform the URLLoaderClient if there is a failure. (Closed)
Patch Set: Format changes Created 3 years, 5 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/appcache/appcache_subresource_url_factory.h
diff --git a/content/browser/appcache/appcache_subresource_url_factory.h b/content/browser/appcache/appcache_subresource_url_factory.h
index ef4458e8a5129e50d466a159830a27228e0261bf..bfed6d2739229420f0c9326307433c3e80b18136 100644
--- a/content/browser/appcache/appcache_subresource_url_factory.h
+++ b/content/browser/appcache/appcache_subresource_url_factory.h
@@ -59,6 +59,10 @@ class AppCacheSubresourceURLFactory : public mojom::URLLoaderFactory {
void OnConnectionError();
+ // Notifies the |client| if there is a failure. The |error_code| contains the
+ // actual error.
+ void NotifyError(mojom::URLLoaderClientPtr client, int error_code);
+
// Mojo binding.
mojo::Binding<mojom::URLLoaderFactory> binding_;

Powered by Google App Engine
This is Rietveld 408576698