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

Unified Diff: content/child/memory/child_memory_coordinator_impl.h

Issue 2376233005: [NotForReview] An idea for experimenting purge & suspend (Closed)
Patch Set: Created 4 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
Index: content/child/memory/child_memory_coordinator_impl.h
diff --git a/content/child/memory/child_memory_coordinator_impl.h b/content/child/memory/child_memory_coordinator_impl.h
index cee8d5a76054309f54ad86056a766a15d5262495..2848862d3afb3d9344151664c3081893058227b0 100644
--- a/content/child/memory/child_memory_coordinator_impl.h
+++ b/content/child/memory/child_memory_coordinator_impl.h
@@ -28,6 +28,9 @@ class CONTENT_EXPORT ChildMemoryCoordinatorDelegate {
class CONTENT_EXPORT ChildMemoryCoordinatorImpl
: NON_EXPORTED_BASE(public mojom::ChildMemoryCoordinator) {
public:
+ // Returns true when memory coordinator is enabled.
+ static bool IsEnabled();
+
// Returns the instance of ChildMemoryCoordinatorImpl. Could be nullptr.
static ChildMemoryCoordinatorImpl* GetInstance();
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/child/memory/child_memory_coordinator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698