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/browser/chrome_content_browser_client.h" | 5 #include "chrome/browser/chrome_content_browser_client.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <set> | 8 #include <set> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 1573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1584 #endif | 1584 #endif |
1585 } else if (process_type == switches::kZygoteProcess) { | 1585 } else if (process_type == switches::kZygoteProcess) { |
1586 static const char* const kSwitchNames[] = { | 1586 static const char* const kSwitchNames[] = { |
1587 // Load (in-process) Pepper plugins in-process in the zygote pre-sandbox. | 1587 // Load (in-process) Pepper plugins in-process in the zygote pre-sandbox. |
1588 switches::kDisableBundledPpapiFlash, | 1588 switches::kDisableBundledPpapiFlash, |
1589 #if !defined(DISABLE_NACL) | 1589 #if !defined(DISABLE_NACL) |
1590 switches::kEnableNaClDebug, | 1590 switches::kEnableNaClDebug, |
1591 switches::kEnableNaClNonSfiMode, | 1591 switches::kEnableNaClNonSfiMode, |
1592 switches::kEnablePNaClSubzero, | 1592 switches::kEnablePNaClSubzero, |
1593 switches::kNaClDangerousNoSandboxNonSfi, | 1593 switches::kNaClDangerousNoSandboxNonSfi, |
1594 switches::kUseNaClHelperNonSfi, | |
1595 #endif | 1594 #endif |
1596 switches::kPpapiFlashPath, | 1595 switches::kPpapiFlashPath, |
1597 switches::kPpapiFlashVersion, | 1596 switches::kPpapiFlashVersion, |
1598 }; | 1597 }; |
1599 | 1598 |
1600 command_line->CopySwitchesFrom(browser_command_line, kSwitchNames, | 1599 command_line->CopySwitchesFrom(browser_command_line, kSwitchNames, |
1601 arraysize(kSwitchNames)); | 1600 arraysize(kSwitchNames)); |
1602 } else if (process_type == switches::kGpuProcess) { | 1601 } else if (process_type == switches::kGpuProcess) { |
1603 // If --ignore-gpu-blacklist is passed in, don't send in crash reports | 1602 // If --ignore-gpu-blacklist is passed in, don't send in crash reports |
1604 // because GPU is expected to be unreliable. | 1603 // because GPU is expected to be unreliable. |
(...skipping 1109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2714 if (channel <= kMaxDisableEncryptionChannel) { | 2713 if (channel <= kMaxDisableEncryptionChannel) { |
2715 static const char* const kWebRtcDevSwitchNames[] = { | 2714 static const char* const kWebRtcDevSwitchNames[] = { |
2716 switches::kDisableWebRtcEncryption, | 2715 switches::kDisableWebRtcEncryption, |
2717 }; | 2716 }; |
2718 to_command_line->CopySwitchesFrom(from_command_line, | 2717 to_command_line->CopySwitchesFrom(from_command_line, |
2719 kWebRtcDevSwitchNames, | 2718 kWebRtcDevSwitchNames, |
2720 arraysize(kWebRtcDevSwitchNames)); | 2719 arraysize(kWebRtcDevSwitchNames)); |
2721 } | 2720 } |
2722 } | 2721 } |
2723 #endif // defined(ENABLE_WEBRTC) | 2722 #endif // defined(ENABLE_WEBRTC) |
OLD | NEW |