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

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: Remove BUILD.gn changes, since the IPC fuzzer doesn't work with gn 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/external_ipc_dumper.h » ('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 "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 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 // enabled. 728 // enabled.
729 const char kInvalidationUseGCMChannel[] = "invalidation-use-gcm-channel"; 729 const char kInvalidationUseGCMChannel[] = "invalidation-use-gcm-channel";
730 730
731 // Disable latest shipping ECMAScript 6 features. 731 // Disable latest shipping ECMAScript 6 features.
732 const char kDisableJavaScriptHarmonyShipping[] = 732 const char kDisableJavaScriptHarmonyShipping[] =
733 "disable-javascript-harmony-shipping"; 733 "disable-javascript-harmony-shipping";
734 734
735 // Enables experimental Harmony (ECMAScript 6) features. 735 // Enables experimental Harmony (ECMAScript 6) features.
736 const char kJavaScriptHarmony[] = "javascript-harmony"; 736 const char kJavaScriptHarmony[] = "javascript-harmony";
737 737
738 // Dumps IPC messages sent from renderer processes to the browser process to
739 // the given directory. Used primarily to gather samples for IPC fuzzing.
740 const char kIpcDumpDirectory[] = "ipc-dump-directory";
741
738 // Specifies the testcase used by the IPC fuzzer. 742 // Specifies the testcase used by the IPC fuzzer.
739 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 743 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
740 744
741 // Used for testing - keeps browser alive after last browser window closes. 745 // Used for testing - keeps browser alive after last browser window closes.
742 const char kKeepAliveForTest[] = "keep-alive-for-test"; 746 const char kKeepAliveForTest[] = "keep-alive-for-test";
743 747
744 // Enable Kiosk mode. 748 // Enable Kiosk mode.
745 const char kKioskMode[] = "kiosk"; 749 const char kKioskMode[] = "kiosk";
746 750
747 // Print automatically in kiosk mode. |kKioskMode| must be set as well. 751 // Print automatically in kiosk mode. |kKioskMode| must be set as well.
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
1377 1381
1378 // ----------------------------------------------------------------------------- 1382 // -----------------------------------------------------------------------------
1379 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1383 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1380 // 1384 //
1381 // You were going to just dump your switches here, weren't you? Instead, please 1385 // You were going to just dump your switches here, weren't you? Instead, please
1382 // put them in alphabetical order above, or in order inside the appropriate 1386 // put them in alphabetical order above, or in order inside the appropriate
1383 // ifdef at the bottom. The order should match the header. 1387 // ifdef at the bottom. The order should match the header.
1384 // ----------------------------------------------------------------------------- 1388 // -----------------------------------------------------------------------------
1385 1389
1386 } // namespace switches 1390 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/external_ipc_dumper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698