Index: content/public/common/content_switches.cc |
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc |
index 272793f46a1fa6ebc1a79728a360f77fdbac71f6..72c486957f790d3edcfc9cbf7f3907cfef1c79ea 100644 |
--- a/content/public/common/content_switches.cc |
+++ b/content/public/common/content_switches.cc |
@@ -236,8 +236,15 @@ const char kDomAutomationController[] = "dom-automation"; |
// Loosen security. Needed for tests using some of the functionality of |
// |DOMAutomationController|. |
-const char kReduceSecurityForDomAutomationTests[] = |
- "reduce-security-for-dom-automation-tests"; |
+const char kReduceSecurityForStatsCollectionTests[] = |
+ "reduce-security-for-stats-collection-tests"; |
+ |
+// Specifies if the |StatsCollectionExtension| needs to be bound in the |
+// renderer. This binding happens on per-frame basis and hence can potentially |
+// be a performance bottleneck. One should only enable it when running a test |
+// that needs to access the provided statistics. |
+const char kStatsCollectionExtension[] = |
+ "enable-stats-collection-bindings"; |
// Enable hardware accelerated page painting. |
const char kEnableAcceleratedPainting[] = "enable-accelerated-painting"; |