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

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

Issue 2827993002: ResourceFetcher: Refactor ResourceForStaticData().
Patch Set: ResourceFetcher: Refactor ResourceForStaticData(). Created 3 years, 8 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 1dcd6d738564f25f4500c2c56f525a5d5cb77d34..e7d82e22d48131ac07691170376b71cf413e1ecd 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.h
+++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.h
@@ -179,9 +179,21 @@ class PLATFORM_EXPORT ResourceFetcher
unsigned long identifier,
ResourceRequestBlockedReason&);
- Resource* ResourceForStaticData(const FetchParameters&,
- const ResourceFactory&,
- const SubstituteData&);
+ Resource* ResourceForStaticDataFromCache(const FetchParameters&);
+ Resource* ResourceForSubstituteData(const FetchParameters&,
+ const ResourceFactory&,
+ const SubstituteData&);
+ Resource* ResourceForDataUrl(const FetchParameters&,
+ const ResourceFactory&,
+ const SubstituteData&);
+ Resource* ResourceForArchive(const FetchParameters&,
+ const ResourceFactory&,
+ const SubstituteData&);
+ Resource* CreateResourceFromStaticData(const FetchParameters&,
+ const ResourceFactory&,
+ const ResourceResponse&,
+ const RefPtr<SharedBuffer>& data,
+ const SubstituteData&);
Resource* ResourceForBlockedRequest(const FetchParameters&,
const ResourceFactory&,
ResourceRequestBlockedReason);
« 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