| 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 1590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1601 switches::kMessageLoopHistogrammer, | 1601 switches::kMessageLoopHistogrammer, |
| 1602 switches::kOriginTrialDisabledFeatures, | 1602 switches::kOriginTrialDisabledFeatures, |
| 1603 switches::kOriginTrialPublicKey, | 1603 switches::kOriginTrialPublicKey, |
| 1604 switches::kPpapiFlashArgs, | 1604 switches::kPpapiFlashArgs, |
| 1605 switches::kPpapiFlashPath, | 1605 switches::kPpapiFlashPath, |
| 1606 switches::kPpapiFlashVersion, | 1606 switches::kPpapiFlashVersion, |
| 1607 switches::kProfilingAtStart, | 1607 switches::kProfilingAtStart, |
| 1608 switches::kProfilingFile, | 1608 switches::kProfilingFile, |
| 1609 switches::kProfilingFlush, | 1609 switches::kProfilingFlush, |
| 1610 switches::kReaderModeHeuristics, | 1610 switches::kReaderModeHeuristics, |
| 1611 switches::kDistillabilityDev, |
| 1611 switches::kUnsafelyTreatInsecureOriginAsSecure, | 1612 switches::kUnsafelyTreatInsecureOriginAsSecure, |
| 1612 translate::switches::kTranslateSecurityOrigin, | 1613 translate::switches::kTranslateSecurityOrigin, |
| 1613 }; | 1614 }; |
| 1614 | 1615 |
| 1615 command_line->CopySwitchesFrom(browser_command_line, kSwitchNames, | 1616 command_line->CopySwitchesFrom(browser_command_line, kSwitchNames, |
| 1616 arraysize(kSwitchNames)); | 1617 arraysize(kSwitchNames)); |
| 1617 } else if (process_type == switches::kUtilityProcess) { | 1618 } else if (process_type == switches::kUtilityProcess) { |
| 1618 #if defined(ENABLE_EXTENSIONS) | 1619 #if defined(ENABLE_EXTENSIONS) |
| 1619 static const char* const kSwitchNames[] = { | 1620 static const char* const kSwitchNames[] = { |
| 1620 extensions::switches::kAllowHTTPBackgroundPage, | 1621 extensions::switches::kAllowHTTPBackgroundPage, |
| (...skipping 1349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2970 if (channel <= kMaxDisableEncryptionChannel) { | 2971 if (channel <= kMaxDisableEncryptionChannel) { |
| 2971 static const char* const kWebRtcDevSwitchNames[] = { | 2972 static const char* const kWebRtcDevSwitchNames[] = { |
| 2972 switches::kDisableWebRtcEncryption, | 2973 switches::kDisableWebRtcEncryption, |
| 2973 }; | 2974 }; |
| 2974 to_command_line->CopySwitchesFrom(from_command_line, | 2975 to_command_line->CopySwitchesFrom(from_command_line, |
| 2975 kWebRtcDevSwitchNames, | 2976 kWebRtcDevSwitchNames, |
| 2976 arraysize(kWebRtcDevSwitchNames)); | 2977 arraysize(kWebRtcDevSwitchNames)); |
| 2977 } | 2978 } |
| 2978 } | 2979 } |
| 2979 #endif // defined(ENABLE_WEBRTC) | 2980 #endif // defined(ENABLE_WEBRTC) |
| OLD | NEW |