| 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 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 // URL prefix used by safebrowsing to fetch hash, download data and report | 1056 // URL prefix used by safebrowsing to fetch hash, download data and report |
| 1057 // malware. | 1057 // malware. |
| 1058 const char kSbInfoURLPrefix[] = "safebrowsing-info-url-prefix"; | 1058 const char kSbURLPrefix[] = "safebrowsing-url-prefix"; |
| 1059 | |
| 1060 // URL prefix used by safebrowsing to get MAC key. | |
| 1061 const char kSbMacKeyURLPrefix[] = "safebrowsing-mackey-url-prefix"; | |
| 1062 | 1059 |
| 1063 // If present, safebrowsing only performs update when | 1060 // If present, safebrowsing only performs update when |
| 1064 // SafeBrowsingProtocolManager::ForceScheduleNextUpdate() is explicitly called. | 1061 // SafeBrowsingProtocolManager::ForceScheduleNextUpdate() is explicitly called. |
| 1065 // This is used for testing only. | 1062 // This is used for testing only. |
| 1066 const char kSbDisableAutoUpdate[] = "safebrowsing-disable-auto-update"; | 1063 const char kSbDisableAutoUpdate[] = "safebrowsing-disable-auto-update"; |
| 1067 | 1064 |
| 1068 // TODO(lzheng): Remove this flag once the feature works fine | 1065 // TODO(lzheng): Remove this flag once the feature works fine |
| 1069 // (http://crbug.com/74848). | 1066 // (http://crbug.com/74848). |
| 1070 // | 1067 // |
| 1071 // Disables safebrowsing feature that checks download url and downloads | 1068 // Disables safebrowsing feature that checks download url and downloads |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1381 | 1378 |
| 1382 // ----------------------------------------------------------------------------- | 1379 // ----------------------------------------------------------------------------- |
| 1383 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1380 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1384 // | 1381 // |
| 1385 // 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 |
| 1386 // 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 |
| 1387 // ifdef at the bottom. The order should match the header. | 1384 // ifdef at the bottom. The order should match the header. |
| 1388 // ----------------------------------------------------------------------------- | 1385 // ----------------------------------------------------------------------------- |
| 1389 | 1386 |
| 1390 } // namespace switches | 1387 } // namespace switches |
| OLD | NEW |