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 "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 #include "content/public/common/content_switches.h" | 6 #include "content/public/common/content_switches.h" |
| 7 #include "media/media_features.h" | 7 #include "media/media_features.h" |
| 8 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 576 | 576 |
| 577 // Makes GPU sandbox failures fatal. | 577 // Makes GPU sandbox failures fatal. |
| 578 const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-failures-fatal"; | 578 const char kGpuSandboxFailuresFatal[] = "gpu-sandbox-failures-fatal"; |
| 579 | 579 |
| 580 // Causes the GPU process to display a dialog on launch. | 580 // Causes the GPU process to display a dialog on launch. |
| 581 const char kGpuStartupDialog[] = "gpu-startup-dialog"; | 581 const char kGpuStartupDialog[] = "gpu-startup-dialog"; |
| 582 | 582 |
| 583 // Ignores certificate-related errors. | 583 // Ignores certificate-related errors. |
| 584 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors"; | 584 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors"; |
| 585 | 585 |
| 586 // A set of certificates by public key hash for which to ignore | |
|
Ryan Sleevi
2017/03/16 23:19:13
I think this may either be missing a word (certifi
martinkr
2017/03/28 23:16:02
Done.
| |
| 587 // certificate-related errors. If an SSL certificates presented by the server | |
| 588 // (leaf or intermediate) matches a public key from this list, certificate | |
|
Ryan Sleevi
2017/03/16 23:19:13
Grammar: an SSL certificates mismatches plurality
martinkr
2017/03/28 23:16:02
Done.
| |
| 589 // errors are ignored. | |
| 590 // | |
| 591 // The switch value must be a comma-separated list of base64-encoded SHA-256 | |
| 592 // hashes of the DER-encoded certificate subject public keys (without tag and | |
| 593 // length). | |
|
Ryan Sleevi
2017/03/16 23:19:13
// The switch value is comprised of a comma-separa
martinkr
2017/03/28 23:16:02
Done.
| |
| 594 const char kIgnoreCertificateErrorsSPKIList[] = | |
| 595 "ignore-certificate-errors-spki-list"; | |
| 596 | |
| 586 // Don't allow content to arbitrarily append to the back/forward list. | 597 // Don't allow content to arbitrarily append to the back/forward list. |
| 587 // The page must prcoess a user gesture before an entry can be added. | 598 // The page must prcoess a user gesture before an entry can be added. |
| 588 const char kHistoryEntryRequiresUserGesture[] = | 599 const char kHistoryEntryRequiresUserGesture[] = |
| 589 "history-entry-requires-user-gesture"; | 600 "history-entry-requires-user-gesture"; |
| 590 | 601 |
| 591 // These mappings only apply to the host resolver. | 602 // These mappings only apply to the host resolver. |
| 592 const char kHostResolverRules[] = "host-resolver-rules"; | 603 const char kHostResolverRules[] = "host-resolver-rules"; |
| 593 | 604 |
| 594 // Makes all APIs reflect the layout viewport. | 605 // Makes all APIs reflect the layout viewport. |
| 595 const char kInertVisualViewport[] = "inert-visual-viewport"; | 606 const char kInertVisualViewport[] = "inert-visual-viewport"; |
| (...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1083 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1094 // the given directory. Used primarily to gather samples for IPC fuzzing. |
| 1084 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1095 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
| 1085 | 1096 |
| 1086 // Specifies the testcase used by the IPC fuzzer. | 1097 // Specifies the testcase used by the IPC fuzzer. |
| 1087 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1098 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
| 1088 #endif | 1099 #endif |
| 1089 | 1100 |
| 1090 // Don't dump stuff here, follow the same order as the header. | 1101 // Don't dump stuff here, follow the same order as the header. |
| 1091 | 1102 |
| 1092 } // namespace switches | 1103 } // namespace switches |
| OLD | NEW |