From 8309341c9b88243c8d02f27ac72f2db464f27498 Mon Sep 17 00:00:00 2001 From: "vollick@chromium.org" Date: Mon, 29 Apr 2013 21:11:31 +0000 Subject: Add a command line flag for dumping trace events to VLOG Only affects cc_unittests at the moment. BUG=None TBR=nduca@chromium.org Review URL: https://chromiumcodereview.appspot.com/14275006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197141 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/base/switches.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cc/base/switches.cc') diff --git a/cc/base/switches.cc b/cc/base/switches.cc index 6c694a9..80996e9 100644 --- a/cc/base/switches.cc +++ b/cc/base/switches.cc @@ -137,6 +137,13 @@ const char kUIShowOccludingRects[] = "ui-show-occluding-rects"; const char kShowNonOccludingRects[] = "show-nonoccluding-rects"; const char kUIShowNonOccludingRects[] = "ui-show-nonoccluding-rects"; +// Prevents the layer tree unit tests from timing out. +const char kCCLayerTreeTestNoTimeout[] = "cc-layer-tree-test-no-timeout"; + +// Trace events get dumped to stderr for debugging purposes. +const char kCCUnittestsTraceEventsToVLOG[] = + "cc-unittests-trace-events-to-vlog"; + bool IsImplSidePaintingEnabled() { const CommandLine& command_line = *CommandLine::ForCurrentProcess(); -- cgit v1.1