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

Unified Diff: third_party/WebKit/Source/core/css/RemoteFontFaceSource.h

Issue 2289303004: WebFonts: measure network loading time (Closed)
Patch Set: use histogram_suffixes Created 4 years, 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/RemoteFontFaceSource.h
diff --git a/third_party/WebKit/Source/core/css/RemoteFontFaceSource.h b/third_party/WebKit/Source/core/css/RemoteFontFaceSource.h
index 6bb1e5fc6f1c1bf59bd20ebfb55e6217406994ab..bfec96cb50f16a916e14f665a6797229f8357c3a 100644
--- a/third_party/WebKit/Source/core/css/RemoteFontFaceSource.h
+++ b/third_party/WebKit/Source/core/css/RemoteFontFaceSource.h
@@ -70,7 +70,7 @@ private:
void recordRemoteFont(const FontResource*, bool isLoadedFromMemoryCache);
bool hadBlankText() { return m_blankPaintTime; }
private:
- void recordLoadTimeHistogram(const FontResource*, int duration);
+ void recordLoadTimeHistogram(const FontResource*, int duration, bool isLoadedFromNetwork);
kouhei (in TOK) 2016/09/02 03:22:20 Can we have a enum for describing the source? Look
Takashi Toyoshima 2016/09/02 10:51:00 Actually, it's not opposite of this since we have
void recordInterventionResult(bool isTriggered, bool isLoadedFromNetwork);
double m_loadStartTime;
double m_blankPaintTime;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698