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

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

Issue 2816403002: test all
Patch Set: fix sharedworker 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
Index: third_party/WebKit/Source/platform/loader/fetch/RawResource.h
diff --git a/third_party/WebKit/Source/platform/loader/fetch/RawResource.h b/third_party/WebKit/Source/platform/loader/fetch/RawResource.h
index 31807a14dd07984ee7dc732a19434ec8786fc872..77366c5831a5cb7e68efc949197332f7add0a87e 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/RawResource.h
+++ b/third_party/WebKit/Source/platform/loader/fetch/RawResource.h
@@ -31,6 +31,7 @@
#include "public/platform/WebDataConsumerHandle.h"
namespace blink {
+class FetchContext;
class FetchParameters;
class RawResourceClient;
class ResourceFetcher;
@@ -52,7 +53,7 @@ class PLATFORM_EXPORT RawResource final : public Resource {
// Exposed for testing
static RawResource* Create(const ResourceRequest& request, Type type) {
- return new RawResource(request, type, ResourceLoaderOptions());
+ return new RawResource(request, type, ResourceLoaderOptions(), nullptr);
}
// FIXME: AssociatedURLLoader shouldn't be a DocumentThreadableLoader and
@@ -73,12 +74,16 @@ class PLATFORM_EXPORT RawResource final : public Resource {
Resource* Create(const ResourceRequest& request,
const ResourceLoaderOptions& options,
- const String& charset) const override {
- return new RawResource(request, type_, options);
+ const String& charset,
+ FetchContext* fetch_context) const override {
+ return new RawResource(request, type_, options, fetch_context);
}
};
- RawResource(const ResourceRequest&, Type, const ResourceLoaderOptions&);
+ RawResource(const ResourceRequest&,
+ Type,
+ const ResourceLoaderOptions&,
+ FetchContext*);
// Resource implementation
void DidAddClient(ResourceClient*) override;

Powered by Google App Engine
This is Rietveld 408576698