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

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

Issue 2390583002: [WIP] WebFonts cache-aware timeout adaption (Closed)
Patch Set: remove flag in finish() instead of responseReceived() Created 4 years, 2 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/ResourceClient.h
diff --git a/third_party/WebKit/Source/core/fetch/ResourceClient.h b/third_party/WebKit/Source/core/fetch/ResourceClient.h
index f75dd04d45ee58eb8ae5429cff552226b124d8c8..76cc1cceb1df0a577377f4ac6d71707c910b3650 100644
--- a/third_party/WebKit/Source/core/fetch/ResourceClient.h
+++ b/third_party/WebKit/Source/core/fetch/ResourceClient.h
@@ -52,6 +52,8 @@ class CORE_EXPORT ResourceClient : public GarbageCollectedMixin {
return BaseResourceType;
}
+ virtual void willReloadAfterDiskCacheMiss(Resource*) {}
Takashi Toyoshima 2016/10/05 07:06:18 not sure since this CL does not contain actual Fon
hiroshige 2016/10/05 08:27:10 I also would like to restrict how ResourceClients
Shao-Chuan Lee 2016/10/05 10:16:10 Now using const Resource* here.
+
// Name for debugging, e.g. shown in memory-infra.
virtual String debugName() const = 0;

Powered by Google App Engine
This is Rietveld 408576698