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

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

Issue 12389073: Collect tab timing information for use in telementry-based startup tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: formatting/compile fix Created 7 years, 9 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 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";

Powered by Google App Engine
This is Rietveld 408576698