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

Unified Diff: content/child/web_url_loader_impl.h

Issue 1700233003: [WIP][SVG 2/4] Make data URL handling in ResourceFetcher and WebURLLoaderImpl consistent Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: auto-Rebase Created 4 years, 9 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/child/blink_platform_impl.cc ('k') | content/child/web_url_loader_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/web_url_loader_impl.h
diff --git a/content/child/web_url_loader_impl.h b/content/child/web_url_loader_impl.h
index 290ad993bf65fccadb958d54d2ad27083c599c05..b9df3ae2503e75b71853c90e1b1884bbbbaf53fa 100644
--- a/content/child/web_url_loader_impl.h
+++ b/content/child/web_url_loader_impl.h
@@ -53,6 +53,11 @@ class CONTENT_EXPORT WebURLLoaderImpl
bool skip_service_worker,
blink::WebURLRequest* new_request);
+ // We can optimize the handling of data URLs in most cases.
+ static bool CanHandleDataURLRequestLocally(
+ const blink::WebURLRequest&,
+ bool resource_dispatcher_exists);
+
// WebURLLoader methods:
void loadSynchronously(
const blink::WebURLRequest& request,
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/child/web_url_loader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698