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

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

Issue 2130683002: [Experiment] purge-and-suspend Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 c22f2b0c1d501f9d371a2141cd52ad7041e6c97c..900cdd9fc96fcfc8f5302bc0dd600c043940d382 100644
--- a/third_party/WebKit/Source/core/page/Page.h
+++ b/third_party/WebKit/Source/core/page/Page.h
@@ -195,7 +195,9 @@ public:
void didCommitLoad(LocalFrame*);
void acceptLanguagesChanged();
+ void purgeMemory();
+ static void onMemoryPressure();
static void networkStateChanged(bool online);
DECLARE_TRACE();
@@ -213,8 +215,6 @@ private:
// SettingsDelegate overrides.
void settingsChanged(SettingsDelegate::ChangeType) override;
- void compressStrings(Timer<Page>*);
-
Member<PageAnimator> m_animator;
const Member<AutoscrollController> m_autoscrollController;
Member<ChromeClient> m_chromeClient;
@@ -267,8 +267,6 @@ private:
// A pointer to all the interfaces provided to in-process Frames for this Page.
// FIXME: Most of the members of Page should move onto FrameHost.
Member<FrameHost> m_frameHost;
-
- Timer<Page> m_timerForCompressStrings;
};
extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>;

Powered by Google App Engine
This is Rietveld 408576698