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

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: Fix telemetry tests with reference builds. Created 7 years, 7 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 664b87f8e69fac91f21f4fcf22a07d285ff5410e..d153e2e275ed72a015a58a43104639a52e6334ea 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -247,8 +247,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 |StatsCollectionController| 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 kStatsCollectionController[] =
+ "enable-stats-collection-bindings";
// Enable gpu-accelerated SVG/W3C filters.
const char kEnableAcceleratedFilters[] = "enable-accelerated-filters";

Powered by Google App Engine
This is Rietveld 408576698