| 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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| (...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 829 // Specifies the maximum length for a QUIC packet. | 829 // Specifies the maximum length for a QUIC packet. |
| 830 const char kQuicMaxPacketLength[] = "quic-max-packet-length"; | 830 const char kQuicMaxPacketLength[] = "quic-max-packet-length"; |
| 831 | 831 |
| 832 // Specifies the version of QUIC to use. | 832 // Specifies the version of QUIC to use. |
| 833 const char kQuicVersion[] = "quic-version"; | 833 const char kQuicVersion[] = "quic-version"; |
| 834 // Porvides a list of addresses to discover DevTools remote debugging targets. | 834 // Porvides a list of addresses to discover DevTools remote debugging targets. |
| 835 // The format is <host>:<port>,...,<host>:port. | 835 // The format is <host>:<port>,...,<host>:port. |
| 836 const char kRemoteDebuggingTargets[] = "remote-debugging-targets"; | 836 const char kRemoteDebuggingTargets[] = "remote-debugging-targets"; |
| 837 | 837 |
| 838 // Indicates the last session should be restored on startup. This overrides the | 838 // Indicates the last session should be restored on startup. This overrides the |
| 839 // preferences value and is primarily intended for testing. The value of this | 839 // preferences value. |
| 840 // switch is the number of tabs to wait until loaded before 'load completed' is | |
| 841 // sent to the ui_test. | |
| 842 const char kRestoreLastSession[] = "restore-last-session"; | 840 const char kRestoreLastSession[] = "restore-last-session"; |
| 843 | 841 |
| 844 // Disable saving pages as HTML-only, disable saving pages as HTML Complete | 842 // Disable saving pages as HTML-only, disable saving pages as HTML Complete |
| 845 // (with a directory of sub-resources). Enable only saving pages as MHTML. | 843 // (with a directory of sub-resources). Enable only saving pages as MHTML. |
| 846 // See http://crbug.com/120416 for how to remove this switch. | 844 // See http://crbug.com/120416 for how to remove this switch. |
| 847 const char kSavePageAsMHTML[] = "save-page-as-mhtml"; | 845 const char kSavePageAsMHTML[] = "save-page-as-mhtml"; |
| 848 | 846 |
| 849 // If present, safebrowsing only performs update when | 847 // If present, safebrowsing only performs update when |
| 850 // SafeBrowsingProtocolManager::ForceScheduleNextUpdate() is explicitly called. | 848 // SafeBrowsingProtocolManager::ForceScheduleNextUpdate() is explicitly called. |
| 851 // This is used for testing only. | 849 // This is used for testing only. |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1325 | 1323 |
| 1326 // ----------------------------------------------------------------------------- | 1324 // ----------------------------------------------------------------------------- |
| 1327 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. | 1325 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. |
| 1328 // | 1326 // |
| 1329 // You were going to just dump your switches here, weren't you? Instead, please | 1327 // You were going to just dump your switches here, weren't you? Instead, please |
| 1330 // put them in alphabetical order above, or in order inside the appropriate | 1328 // put them in alphabetical order above, or in order inside the appropriate |
| 1331 // ifdef at the bottom. The order should match the header. | 1329 // ifdef at the bottom. The order should match the header. |
| 1332 // ----------------------------------------------------------------------------- | 1330 // ----------------------------------------------------------------------------- |
| 1333 | 1331 |
| 1334 } // namespace switches | 1332 } // namespace switches |
| OLD | NEW |