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

Unified Diff: Source/core/css/CSSFontFaceSource.h

Issue 23720005: Move webfont usage metrics reporting to FontResource (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 | Source/core/css/CSSFontFaceSource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSFontFaceSource.h
diff --git a/Source/core/css/CSSFontFaceSource.h b/Source/core/css/CSSFontFaceSource.h
index ebb733b92076f794f3f3da9797457521074cd126..6414ae6d8ad4b9ed9375e520d227ace4522b7918 100644
--- a/Source/core/css/CSSFontFaceSource.h
+++ b/Source/core/css/CSSFontFaceSource.h
@@ -80,21 +80,13 @@ public:
private:
class FontLoadHistograms {
public:
- enum UsageType {
- StyledAndUsed,
- StyledButNotUsed,
- NotStyledButUsed,
- UsageTypeMax
- };
- FontLoadHistograms() : m_styledTime(0), m_loadStartTime(0) { }
- ~FontLoadHistograms();
+ FontLoadHistograms() : m_loadStartTime(0) { }
void willUseFontData();
void loadStarted();
void recordLocalFont(bool loadSuccess);
void recordRemoteFont(const FontResource*);
private:
const char* histogramName(const FontResource*);
- double m_styledTime;
double m_loadStartTime;
};
« no previous file with comments | « no previous file | Source/core/css/CSSFontFaceSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698