| 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 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1393 | 1393 |
| 1394 // Keys: lowPriorityIframes | 1394 // Keys: lowPriorityIframes |
| 1395 "LowPriorityIFrames", | 1395 "LowPriorityIFrames", |
| 1396 | 1396 |
| 1397 // Keys: disallowFetchForDocWrittenScriptsInMainFrame | 1397 // Keys: disallowFetchForDocWrittenScriptsInMainFrame |
| 1398 "DisallowFetchForDocWrittenScriptsInMainFrame", | 1398 "DisallowFetchForDocWrittenScriptsInMainFrame", |
| 1399 | 1399 |
| 1400 // Keys: parseHTMLOnMainThreadSyncTokenize | 1400 // Keys: parseHTMLOnMainThreadSyncTokenize |
| 1401 // parseHTMLOnMainThreadCoalesceChunks | 1401 // parseHTMLOnMainThreadCoalesceChunks |
| 1402 "ParseHTMLOnMainThread", | 1402 "ParseHTMLOnMainThread", |
| 1403 |
| 1404 // Keys: cssExternalScannerNoPreload |
| 1405 // cssExternalScannerPreload |
| 1406 "CSSExternalScanner", |
| 1403 }; | 1407 }; |
| 1404 | 1408 |
| 1405 std::vector<std::string> blink_settings; | 1409 std::vector<std::string> blink_settings; |
| 1406 for (const char* field_trial_name : kBlinkSettingsFieldTrials) { | 1410 for (const char* field_trial_name : kBlinkSettingsFieldTrials) { |
| 1407 // Each blink-settings field trial should include a forcing_flag group, | 1411 // Each blink-settings field trial should include a forcing_flag group, |
| 1408 // to make sure that clients that specify the blink-settings flag on the | 1412 // to make sure that clients that specify the blink-settings flag on the |
| 1409 // command line are excluded from the experiment groups. To make | 1413 // command line are excluded from the experiment groups. To make |
| 1410 // sure we assign clients that specify this flag to the forcing_flag | 1414 // sure we assign clients that specify this flag to the forcing_flag |
| 1411 // group, we must call GetVariationParams for each field trial first | 1415 // group, we must call GetVariationParams for each field trial first |
| 1412 // (for example, before checking HasSwitch() and returning), since | 1416 // (for example, before checking HasSwitch() and returning), since |
| (...skipping 1736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3149 if (channel <= kMaxDisableEncryptionChannel) { | 3153 if (channel <= kMaxDisableEncryptionChannel) { |
| 3150 static const char* const kWebRtcDevSwitchNames[] = { | 3154 static const char* const kWebRtcDevSwitchNames[] = { |
| 3151 switches::kDisableWebRtcEncryption, | 3155 switches::kDisableWebRtcEncryption, |
| 3152 }; | 3156 }; |
| 3153 to_command_line->CopySwitchesFrom(from_command_line, | 3157 to_command_line->CopySwitchesFrom(from_command_line, |
| 3154 kWebRtcDevSwitchNames, | 3158 kWebRtcDevSwitchNames, |
| 3155 arraysize(kWebRtcDevSwitchNames)); | 3159 arraysize(kWebRtcDevSwitchNames)); |
| 3156 } | 3160 } |
| 3157 } | 3161 } |
| 3158 #endif // defined(ENABLE_WEBRTC) | 3162 #endif // defined(ENABLE_WEBRTC) |
| OLD | NEW |