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

Unified Diff: content/public/common/content_switches.cc

Issue 183153002: Make shared worker aware kEnableSharedWorkerMemoryInfo switch (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 8 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/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 8c8c753a382e5f451341e04e89d72ff4ea18491d..d14097ec30fd6d4ea948fd27ce9314ae38c6420c 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -479,6 +479,11 @@ const char kEnableMapImage[] = "enable-map-image";
// Enables the memory benchmarking extension
const char kEnableMemoryBenchmarking[] = "enable-memory-benchmarking";
+// Make the values returned to window.performance.memory more granular and more
+// up to date. Without this flag, the memory information is still available, but
+// it is bucketized and updated less frequently.
+const char kEnableMemoryInfo[] = "enable-memory-info";
+
// On Windows, converts the page to the currently-installed monitor profile.
// This does NOT enable color management for images. The source is still
// assumed to be sRGB.

Powered by Google App Engine
This is Rietveld 408576698