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

Unified Diff: third_party/WebKit/Source/core/page/Page.h

Issue 1583263002: Experimental CompressibleString UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adopt lazy-initializing way Created 4 years, 11 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/core/page/Page.h
diff --git a/third_party/WebKit/Source/core/page/Page.h b/third_party/WebKit/Source/core/page/Page.h
index 3293c4717b51ab50429738961a745bed8f8f5846..b573b39a76a758422c0fe25478b3400c0d2e7005 100644
--- a/third_party/WebKit/Source/core/page/Page.h
+++ b/third_party/WebKit/Source/core/page/Page.h
@@ -34,6 +34,7 @@
#include "core/page/PageVisibilityState.h"
#include "platform/MemoryPurgeController.h"
#include "platform/Supplementable.h"
+#include "platform/Timer.h"
#include "platform/geometry/LayoutRect.h"
#include "platform/geometry/Region.h"
#include "platform/heap/Handle.h"
@@ -234,6 +235,8 @@ private:
// SettingsDelegate overrides.
void settingsChanged(SettingsDelegate::ChangeType) override;
+ void compressStrings(Timer<Page>*);
+
RefPtrWillBeMember<PageAnimator> m_animator;
const OwnPtrWillBeMember<AutoscrollController> m_autoscrollController;
RawPtrWillBeMember<ChromeClient> m_chromeClient;
@@ -290,6 +293,8 @@ private:
OwnPtrWillBeMember<FrameHost> m_frameHost;
OwnPtrWillBeMember<MemoryPurgeController> m_memoryPurgeController;
+
+ Timer<Page> m_timerForCompressStrings;
};
extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>;
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp ('k') | third_party/WebKit/Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698