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

Unified Diff: third_party/WebKit/Source/platform/Histogram.h

Issue 2886943003: [Offline Pages] Adding missing image/CSS detection in FrameSerializer. (Closed)
Patch Set: finally fixed. Created 3 years, 6 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/platform/Histogram.h
diff --git a/third_party/WebKit/Source/platform/Histogram.h b/third_party/WebKit/Source/platform/Histogram.h
index 190149eb1ecbe6d2b93984450ab958e476576866..ec4c13a22aec8f3c6ccc1edbb19f536bafbe88a4 100644
--- a/third_party/WebKit/Source/platform/Histogram.h
+++ b/third_party/WebKit/Source/platform/Histogram.h
@@ -54,6 +54,14 @@ class PLATFORM_EXPORT SparseHistogram {
base::HistogramBase* histogram_;
};
+class PLATFORM_EXPORT LinearHistogram : public CustomCountHistogram {
+ public:
+ explicit LinearHistogram(const char* name,
+ base::HistogramBase::Sample min,
+ base::HistogramBase::Sample max,
+ int32_t bucket_count);
+};
+
class PLATFORM_EXPORT ScopedUsHistogramTimer {
public:
ScopedUsHistogramTimer(CustomCountHistogram& counter)
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameSerializer.cpp ('k') | third_party/WebKit/Source/platform/Histogram.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698