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

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

Issue 2475293003: [RemotePlayback] No monitoring on low-end devices (Closed)
Patch Set: Rebase on MC change Created 4 years, 1 month 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/MemoryCoordinator.h
diff --git a/third_party/WebKit/Source/platform/MemoryCoordinator.h b/third_party/WebKit/Source/platform/MemoryCoordinator.h
index 6ee61fb971b072853da56eaa5fd14edaa7642f3f..27316568c85ec4de0cae5867dceec6ed53c885bd 100644
--- a/third_party/WebKit/Source/platform/MemoryCoordinator.h
+++ b/third_party/WebKit/Source/platform/MemoryCoordinator.h
@@ -47,10 +47,14 @@ class PLATFORM_EXPORT MemoryCoordinator final
DECLARE_TRACE();
private:
+ friend class Internals;
+
MemoryCoordinator();
void clearMemory();
+ void setIsLowEndDeviceForTesting(bool);
+
HeapHashSet<WeakMember<MemoryCoordinatorClient>> m_clients;
bool m_isLowEndDevice;

Powered by Google App Engine
This is Rietveld 408576698