Add Histograms for reporting on PageCache reject reasons
authorgavinp@chromium.org <gavinp@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Mar 2012 16:52:17 +0000 (16:52 +0000)
committergavinp@chromium.org <gavinp@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 7 Mar 2012 16:52:17 +0000 (16:52 +0000)
commit9cb938d414680c516c7dc1bf3c58aedad35ea8e6
tree781f2ac109447bc8a6544d77447e9b5643216cb4
parentc418c4cfd3da21a2fe5067766b5fb243ac35eb81
Add Histograms for reporting on PageCache reject reasons
https://bugs.webkit.org/show_bug.cgi?id=80187

Enhance the PageCache debug mode so that it uses Histograms to
report on causes of failure.  Turn on the debug printing path
even in non-debug Chromium builds, so these histograms will
update.

Reviewed by Brady Eidson.

No new tests, does not change behaviour.

* history/PageCache.cpp:
(WebCore):
(WebCore::logCanCacheFrameDecision):
(WebCore::logCanCachePageDecision):
(WebCore::PageCache::canCache):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@110057 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/history/PageCache.cpp