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

Unified Diff: third_party/WebKit/Source/core/fetch/ScriptResource.h

Issue 2130683002: [Experiment] purge-and-suspend Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 4 years, 5 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/core/fetch/ScriptResource.h
diff --git a/third_party/WebKit/Source/core/fetch/ScriptResource.h b/third_party/WebKit/Source/core/fetch/ScriptResource.h
index 254d5569a2601ea17c87393c4ef03c35d1aad23c..8ca7b966a526fe79b4f662ac35976ca3a191fafe 100644
--- a/third_party/WebKit/Source/core/fetch/ScriptResource.h
+++ b/third_party/WebKit/Source/core/fetch/ScriptResource.h
@@ -53,6 +53,8 @@ public:
virtual void notifyAppendData(ScriptResource* resource) { }
+ virtual void notifyCancelStreamingTask(ScriptResource* resource) { }
+
DEFINE_INLINE_VIRTUAL_TRACE() {}
};
@@ -101,6 +103,8 @@ private:
ScriptResource(const ResourceRequest&, const ResourceLoaderOptions&, const String& charset);
+ void destroyDecodedDataIfPossible() override;
+
ScriptIntegrityDisposition m_integrityDisposition;
IntegrityMetadataSet m_integrityMetadata;

Powered by Google App Engine
This is Rietveld 408576698