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

Side by Side Diff: content/public/common/content_switches.cc

Issue 506113002: Add support for tracing in browser tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up. Created 6 years, 3 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 unified diff | Download patch
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/test/browser_test_base.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 // Enable support for sync events in ServiceWorkers. 441 // Enable support for sync events in ServiceWorkers.
442 const char kEnableServiceWorkerSync[] = "enable-service-worker-sync"; 442 const char kEnableServiceWorkerSync[] = "enable-service-worker-sync";
443 443
444 // Enable use of experimental TCP sockets API for sending data in the 444 // Enable use of experimental TCP sockets API for sending data in the
445 // SYN packet. 445 // SYN packet.
446 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; 446 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen";
447 447
448 // Enabled threaded compositing for layout tests. 448 // Enabled threaded compositing for layout tests.
449 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; 449 const char kEnableThreadedCompositing[] = "enable-threaded-compositing";
450 450
451 // Enable tracing during the execution of browser tests.
452 const char kEnableTracing[] = "enable-tracing";
jam 2014/08/27 03:33:59 nit: here and below, almost all flags have the '='
453
454 // The filename to write the output of the test tracing to.
455 const char kEnableTracingOutput[] = "enable-tracing-output";
456
451 // Enable screen capturing support for MediaStream API. 457 // Enable screen capturing support for MediaStream API.
452 const char kEnableUserMediaScreenCapturing[] = 458 const char kEnableUserMediaScreenCapturing[] =
453 "enable-usermedia-screen-capturing"; 459 "enable-usermedia-screen-capturing";
454 460
455 // Enables the use of the @viewport CSS rule, which allows 461 // Enables the use of the @viewport CSS rule, which allows
456 // pages to control aspects of their own layout. This also turns on touch-screen 462 // pages to control aspects of their own layout. This also turns on touch-screen
457 // pinch gestures. 463 // pinch gestures.
458 const char kEnableViewport[] = "enable-viewport"; 464 const char kEnableViewport[] = "enable-viewport";
459 465
460 // Enables the use of the legacy viewport meta tag. Turning this on also 466 // Enables the use of the legacy viewport meta tag. Turning this on also
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 // Enable the Win32K process mitigation policy for renderer processes which 921 // Enable the Win32K process mitigation policy for renderer processes which
916 // prevents them from invoking user32 and gdi32 system calls which enter 922 // prevents them from invoking user32 and gdi32 system calls which enter
917 // the kernel. This is only supported on Windows 8 and beyond. 923 // the kernel. This is only supported on Windows 8 and beyond.
918 const char kEnableWin32kRendererLockDown[] 924 const char kEnableWin32kRendererLockDown[]
919 = "enable_win32k_renderer_lockdown"; 925 = "enable_win32k_renderer_lockdown";
920 #endif 926 #endif
921 927
922 // Don't dump stuff here, follow the same order as the header. 928 // Don't dump stuff here, follow the same order as the header.
923 929
924 } // namespace switches 930 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/test/browser_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698