Index: third_party/WebKit/Source/core/fetch/Resource.h |
diff --git a/third_party/WebKit/Source/core/fetch/Resource.h b/third_party/WebKit/Source/core/fetch/Resource.h |
index 2dd436953333993acbc6cce65d52bdc257d6a37b..508edc4151562f79e56e40b812f675c0d956275d 100644 |
--- a/third_party/WebKit/Source/core/fetch/Resource.h |
+++ b/third_party/WebKit/Source/core/fetch/Resource.h |
@@ -26,6 +26,7 @@ |
#include "core/CoreExport.h" |
#include "core/fetch/CachedMetadataHandler.h" |
#include "core/fetch/ResourceLoaderOptions.h" |
+#include "core/fetch/SubstituteData.h" |
#include "platform/Timer.h" |
#include "platform/network/ResourceError.h" |
#include "platform/network/ResourceLoadPriority.h" |
@@ -101,6 +102,8 @@ public: |
DECLARE_VIRTUAL_TRACE(); |
virtual void load(ResourceFetcher*, const ResourceLoaderOptions&); |
+ void loadLocallySubstituteData(const ResourceRequest&, const ResourceLoaderOptions&, const SubstituteData&); |
+ bool loadLocallyDataURL(const ResourceRequest&, const ResourceLoaderOptions&); |
virtual void setEncoding(const String&) { } |
virtual String encoding() const { return String(); } |
@@ -343,6 +346,8 @@ private: |
bool unlock(); |
+ void loadLocallyStaticData(const ResourceRequest&, const ResourceLoaderOptions&, const WebString&, const WebString&, PassRefPtr<SharedBuffer>); |
+ |
void setCachedMetadata(unsigned dataTypeID, const char*, size_t, CachedMetadataHandler::CacheType); |
void clearCachedMetadata(CachedMetadataHandler::CacheType); |
CachedMetadata* cachedMetadata(unsigned dataTypeID) const; |