Chromium Code Reviews| 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 293 const char kDisableOfflineAutoReloadVisibleOnly[] = | 293 const char kDisableOfflineAutoReloadVisibleOnly[] = |
| 294 "disable-offline-auto-reload-visible-only"; | 294 "disable-offline-auto-reload-visible-only"; |
| 295 | 295 |
| 296 // Disable out-of-process V8 proxy resolver. | 296 // Disable out-of-process V8 proxy resolver. |
| 297 const char kDisableOutOfProcessPac[] = "disable-out-of-process-pac"; | 297 const char kDisableOutOfProcessPac[] = "disable-out-of-process-pac"; |
| 298 | 298 |
| 299 // Disables the Permissions Blacklist, which blocks access to permissions | 299 // Disables the Permissions Blacklist, which blocks access to permissions |
| 300 // for blacklisted sites. | 300 // for blacklisted sites. |
| 301 const char kDisablePermissionsBlacklist[] = "disable-permissions-blacklist"; | 301 const char kDisablePermissionsBlacklist[] = "disable-permissions-blacklist"; |
| 302 | 302 |
| 303 // Disables permission actions reporting to Safe Browsing servers for | |
| 304 // Safe Browsing users. | |
|
kcarattini
2016/05/23 04:00:53
Again, change to "opted in users"
stefanocs
2016/05/23 04:16:36
Done.
| |
| 305 const char kDisablePermissionsReporting[] = "disable-permissions-reporting"; | |
| 306 | |
| 303 // Disable pop-up blocking. | 307 // Disable pop-up blocking. |
| 304 const char kDisablePopupBlocking[] = "disable-popup-blocking"; | 308 const char kDisablePopupBlocking[] = "disable-popup-blocking"; |
| 305 | 309 |
| 306 // Disable speculative TCP/IP preconnection. | 310 // Disable speculative TCP/IP preconnection. |
| 307 const char kDisablePreconnect[] = "disable-preconnect"; | 311 const char kDisablePreconnect[] = "disable-preconnect"; |
| 308 | 312 |
| 309 // Disables print preview (For testing, and for users who don't like us. :[ ) | 313 // Disables print preview (For testing, and for users who don't like us. :[ ) |
| 310 const char kDisablePrintPreview[] = "disable-print-preview"; | 314 const char kDisablePrintPreview[] = "disable-print-preview"; |
| 311 | 315 |
| 312 // Normally when the user attempts to navigate to a page that was the result of | 316 // Normally when the user attempts to navigate to a page that was the result of |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 470 "enable-offline-auto-reload-visible-only"; | 474 "enable-offline-auto-reload-visible-only"; |
| 471 | 475 |
| 472 // Enables or disables panels (always on-top docked pop-up windows). | 476 // Enables or disables panels (always on-top docked pop-up windows). |
| 473 const char kEnablePanels[] = "enable-panels"; | 477 const char kEnablePanels[] = "enable-panels"; |
| 474 const char kDisablePanels[] = "disable-panels"; | 478 const char kDisablePanels[] = "disable-panels"; |
| 475 | 479 |
| 476 // Enables the Permissions Blacklist, which blocks access to permissions | 480 // Enables the Permissions Blacklist, which blocks access to permissions |
| 477 // for blacklisted sites. | 481 // for blacklisted sites. |
| 478 const char kEnablePermissionsBlacklist[] = "enable-permissions-blacklist"; | 482 const char kEnablePermissionsBlacklist[] = "enable-permissions-blacklist"; |
| 479 | 483 |
| 484 // Enables permission actions reporting to Safe Browsing servers for | |
| 485 // Safe Browsing users. | |
|
kcarattini
2016/05/23 04:00:53
Same as above.
stefanocs
2016/05/23 04:16:36
Done.
| |
| 486 const char kEnablePermissionsReporting[] = "enable-permissions-reporting"; | |
| 487 | |
| 480 // Enables a number of potentially annoying security features (strict mixed | 488 // Enables a number of potentially annoying security features (strict mixed |
| 481 // content mode, powerful feature restrictions, etc.) | 489 // content mode, powerful feature restrictions, etc.) |
| 482 const char kEnablePotentiallyAnnoyingSecurityFeatures[] = | 490 const char kEnablePotentiallyAnnoyingSecurityFeatures[] = |
| 483 "enable-potentially-annoying-security-features"; | 491 "enable-potentially-annoying-security-features"; |
| 484 | 492 |
| 485 // Enables the Power overlay in Settings. | 493 // Enables the Power overlay in Settings. |
| 486 const char kEnablePowerOverlay[] = "enable-power-overlay"; | 494 const char kEnablePowerOverlay[] = "enable-power-overlay"; |
| 487 | 495 |
| 488 // Enables showing unregistered printers in print preview | 496 // Enables showing unregistered printers in print preview |
| 489 const char kEnablePrintPreviewRegisterPromos[] = | 497 const char kEnablePrintPreviewRegisterPromos[] = |
| (...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1363 | 1371 |
| 1364 // ----------------------------------------------------------------------------- | 1372 // ----------------------------------------------------------------------------- |
| 1365 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1373 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1366 // | 1374 // |
| 1367 // You were going to just dump your switches here, weren't you? Instead, please | 1375 // You were going to just dump your switches here, weren't you? Instead, please |
| 1368 // put them in alphabetical order above, or in order inside the appropriate | 1376 // put them in alphabetical order above, or in order inside the appropriate |
| 1369 // ifdef at the bottom. The order should match the header. | 1377 // ifdef at the bottom. The order should match the header. |
| 1370 // ----------------------------------------------------------------------------- | 1378 // ----------------------------------------------------------------------------- |
| 1371 | 1379 |
| 1372 } // namespace switches | 1380 } // namespace switches |
| OLD | NEW |