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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.h

Issue 2660213003: Split requestResource into request preparation and loading (Closed)
Patch Set: Review comments Created 3 years, 11 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 | « no previous file | third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.h
diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.h b/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.h
index bfe2ae9c4937250cfbaad225fa0d67aba7496598..49a1456172a361cbcf63a4852d7ebae3259d9d48 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.h
+++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.h
@@ -171,6 +171,14 @@ class PLATFORM_EXPORT ResourceFetcher
FetchRequest::DeferOption = FetchRequest::NoDefer,
bool forPreload = false);
+ enum PrepareRequestResult { Abort, Continue, Block };
+
+ PrepareRequestResult prepareRequest(FetchRequest&,
+ const ResourceFactory&,
+ const SubstituteData&,
+ unsigned long identifier,
+ ResourceRequestBlockedReason&);
+
Resource* resourceForStaticData(const FetchRequest&,
const ResourceFactory&,
const SubstituteData&);
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698