OLD | NEW |
---|---|
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 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
544 // Allows reporting memory info (JS heap size) to page. | 544 // Allows reporting memory info (JS heap size) to page. |
545 const char kEnableMemoryInfo[] = "enable-memory-info"; | 545 const char kEnableMemoryInfo[] = "enable-memory-info"; |
546 | 546 |
547 // Runs the Native Client inside the renderer process and enables GPU plugin | 547 // Runs the Native Client inside the renderer process and enables GPU plugin |
548 // (internally adds lEnableGpuPlugin to the command line). | 548 // (internally adds lEnableGpuPlugin to the command line). |
549 const char kEnableNaCl[] = "enable-nacl"; | 549 const char kEnableNaCl[] = "enable-nacl"; |
550 | 550 |
551 // Enables debugging via RSP over a socket. | 551 // Enables debugging via RSP over a socket. |
552 const char kEnableNaClDebug[] = "enable-nacl-debug"; | 552 const char kEnableNaClDebug[] = "enable-nacl-debug"; |
553 | 553 |
554 // Enables the Chrome IPC-based Proxy for NaCl. | |
555 const char kEnableNaClIPCProxy[] = "enable-nacl-ipc-proxy"; | |
brettw
2012/05/10 21:20:48
Can you align the = sign line the other lines?
bbudge
2012/05/10 21:23:46
Done.
| |
556 | |
554 // Enables hardware exception handling via debugger process. | 557 // Enables hardware exception handling via debugger process. |
555 const char kEnableNaClExceptionHandling[] = "enable-nacl-exception-handling"; | 558 const char kEnableNaClExceptionHandling[] = "enable-nacl-exception-handling"; |
556 | 559 |
557 // Enables NPN and SPDY. In case server supports SPDY, browser will use SPDY. | 560 // Enables NPN and SPDY. In case server supports SPDY, browser will use SPDY. |
558 const char kEnableNpn[] = "enable-npn"; | 561 const char kEnableNpn[] = "enable-npn"; |
559 | 562 |
560 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. | 563 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. |
561 // HTTP is still used for all requests. | 564 // HTTP is still used for all requests. |
562 const char kEnableNpnHttpOnly[] = "enable-npn-http"; | 565 const char kEnableNpnHttpOnly[] = "enable-npn-http"; |
563 | 566 |
(...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1429 | 1432 |
1430 // ----------------------------------------------------------------------------- | 1433 // ----------------------------------------------------------------------------- |
1431 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1434 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1432 // | 1435 // |
1433 // You were going to just dump your switches here, weren't you? Instead, please | 1436 // You were going to just dump your switches here, weren't you? Instead, please |
1434 // put them in alphabetical order above, or in order inside the appropriate | 1437 // put them in alphabetical order above, or in order inside the appropriate |
1435 // ifdef at the bottom. The order should match the header. | 1438 // ifdef at the bottom. The order should match the header. |
1436 // ----------------------------------------------------------------------------- | 1439 // ----------------------------------------------------------------------------- |
1437 | 1440 |
1438 } // namespace switches | 1441 } // namespace switches |
OLD | NEW |