| 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 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1046 // Enables print preview in the renderer. This flag is generated internally by | 1046 // Enables print preview in the renderer. This flag is generated internally by |
| 1047 // Chrome and does nothing when directly passed to the browser. | 1047 // Chrome and does nothing when directly passed to the browser. |
| 1048 const char kRendererPrintPreview[] = "renderer-print-preview"; | 1048 const char kRendererPrintPreview[] = "renderer-print-preview"; |
| 1049 | 1049 |
| 1050 // Indicates the last session should be restored on startup. This overrides the | 1050 // Indicates the last session should be restored on startup. This overrides the |
| 1051 // preferences value and is primarily intended for testing. The value of this | 1051 // preferences value and is primarily intended for testing. The value of this |
| 1052 // switch is the number of tabs to wait until loaded before 'load completed' is | 1052 // switch is the number of tabs to wait until loaded before 'load completed' is |
| 1053 // sent to the ui_test. | 1053 // sent to the ui_test. |
| 1054 const char kRestoreLastSession[] = "restore-last-session"; | 1054 const char kRestoreLastSession[] = "restore-last-session"; |
| 1055 | 1055 |
| 1056 // Disable saving pages as HTML-only, disable saving pages as HTML Complete |
| 1057 // (with a directory of sub-resources). Enable only saving pages as MHTML. |
| 1058 const char kSavePageAsMHTML[] = "save-page-as-mhtml"; |
| 1059 |
| 1056 // URL prefix used by safebrowsing to fetch hash, download data and report | 1060 // URL prefix used by safebrowsing to fetch hash, download data and report |
| 1057 // malware. | 1061 // malware. |
| 1058 const char kSbURLPrefix[] = "safebrowsing-url-prefix"; | 1062 const char kSbURLPrefix[] = "safebrowsing-url-prefix"; |
| 1059 | 1063 |
| 1060 // If present, safebrowsing only performs update when | 1064 // If present, safebrowsing only performs update when |
| 1061 // SafeBrowsingProtocolManager::ForceScheduleNextUpdate() is explicitly called. | 1065 // SafeBrowsingProtocolManager::ForceScheduleNextUpdate() is explicitly called. |
| 1062 // This is used for testing only. | 1066 // This is used for testing only. |
| 1063 const char kSbDisableAutoUpdate[] = "safebrowsing-disable-auto-update"; | 1067 const char kSbDisableAutoUpdate[] = "safebrowsing-disable-auto-update"; |
| 1064 | 1068 |
| 1065 // TODO(lzheng): Remove this flag once the feature works fine | 1069 // TODO(lzheng): Remove this flag once the feature works fine |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1381 | 1385 |
| 1382 // ----------------------------------------------------------------------------- | 1386 // ----------------------------------------------------------------------------- |
| 1383 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1387 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1384 // | 1388 // |
| 1385 // You were going to just dump your switches here, weren't you? Instead, please | 1389 // You were going to just dump your switches here, weren't you? Instead, please |
| 1386 // put them in alphabetical order above, or in order inside the appropriate | 1390 // put them in alphabetical order above, or in order inside the appropriate |
| 1387 // ifdef at the bottom. The order should match the header. | 1391 // ifdef at the bottom. The order should match the header. |
| 1388 // ----------------------------------------------------------------------------- | 1392 // ----------------------------------------------------------------------------- |
| 1389 | 1393 |
| 1390 } // namespace switches | 1394 } // namespace switches |
| OLD | NEW |