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

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

Issue 2438033003: [NOT FOR COMMIT] Layout test for WebFonts cache-aware timeout adaption (Closed)
Patch Set: rebase Created 4 years, 1 month 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/FontResource.h
diff --git a/third_party/WebKit/Source/core/fetch/FontResource.h b/third_party/WebKit/Source/core/fetch/FontResource.h
index 23d84554f3e1ae7c72ff42fec2af753e3f2a92b4..eb00818d7a1db2d60cfab663f3f025b885cfb186 100644
--- a/third_party/WebKit/Source/core/fetch/FontResource.h
+++ b/third_party/WebKit/Source/core/fetch/FontResource.h
@@ -107,11 +107,13 @@ class CORE_EXPORT FontResource final : public Resource {
String m_otsParsingMessage;
LoadLimitState m_loadLimitState;
bool m_corsFailed;
+ bool m_isCallbackDisabledForTesting;
Timer<FontResource> m_fontLoadShortLimitTimer;
Timer<FontResource> m_fontLoadLongLimitTimer;
friend class MemoryCache;
FRIEND_TEST_ALL_PREFIXES(ResourceFetcherTest, CacheAwareFontLoading);
+ friend class CacheAwareFontDisplayTest;
};
DEFINE_RESOURCE_TYPE_CASTS(Font);
« no previous file with comments | « third_party/WebKit/Source/core/core_idl_files.gni ('k') | third_party/WebKit/Source/core/fetch/FontResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698