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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 975903002: Add a flag to dump IPC messages sent from the renderer to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments Created 5 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 unified diff | Download patch
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 "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 // enabled. 725 // enabled.
726 const char kInvalidationUseGCMChannel[] = "invalidation-use-gcm-channel"; 726 const char kInvalidationUseGCMChannel[] = "invalidation-use-gcm-channel";
727 727
728 // Disable latest shipping ECMAScript 6 features. 728 // Disable latest shipping ECMAScript 6 features.
729 const char kDisableJavaScriptHarmonyShipping[] = 729 const char kDisableJavaScriptHarmonyShipping[] =
730 "disable-javascript-harmony-shipping"; 730 "disable-javascript-harmony-shipping";
731 731
732 // Enables experimental Harmony (ECMAScript 6) features. 732 // Enables experimental Harmony (ECMAScript 6) features.
733 const char kJavaScriptHarmony[] = "javascript-harmony"; 733 const char kJavaScriptHarmony[] = "javascript-harmony";
734 734
735 // Dumps IPC messages sent from renderer processes to the browser process to
736 // the given directory. Used primarily to gather samples for IPC fuzzing.
737 const char kIpcDumpDirectory[] = "ipc-dump-directory";
738
735 // Specifies the testcase used by the IPC fuzzer. 739 // Specifies the testcase used by the IPC fuzzer.
736 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 740 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
737 741
738 // Used for testing - keeps browser alive after last browser window closes. 742 // Used for testing - keeps browser alive after last browser window closes.
739 const char kKeepAliveForTest[] = "keep-alive-for-test"; 743 const char kKeepAliveForTest[] = "keep-alive-for-test";
740 744
741 // Enable Kiosk mode. 745 // Enable Kiosk mode.
742 const char kKioskMode[] = "kiosk"; 746 const char kKioskMode[] = "kiosk";
743 747
744 // Print automatically in kiosk mode. |kKioskMode| must be set as well. 748 // Print automatically in kiosk mode. |kKioskMode| must be set as well.
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
1374 1378
1375 // ----------------------------------------------------------------------------- 1379 // -----------------------------------------------------------------------------
1376 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1380 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1377 // 1381 //
1378 // You were going to just dump your switches here, weren't you? Instead, please 1382 // You were going to just dump your switches here, weren't you? Instead, please
1379 // put them in alphabetical order above, or in order inside the appropriate 1383 // put them in alphabetical order above, or in order inside the appropriate
1380 // ifdef at the bottom. The order should match the header. 1384 // ifdef at the bottom. The order should match the header.
1381 // ----------------------------------------------------------------------------- 1385 // -----------------------------------------------------------------------------
1382 1386
1383 } // namespace switches 1387 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698