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 1363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1374 | 1374 |
1375 // Keys: lowPriorityIframes | 1375 // Keys: lowPriorityIframes |
1376 "LowPriorityIFrames", | 1376 "LowPriorityIFrames", |
1377 | 1377 |
1378 // Keys: disallowFetchForDocWrittenScriptsInMainFrame | 1378 // Keys: disallowFetchForDocWrittenScriptsInMainFrame |
1379 "DisallowFetchForDocWrittenScriptsInMainFrame", | 1379 "DisallowFetchForDocWrittenScriptsInMainFrame", |
1380 | 1380 |
1381 // Keys: parseHTMLOnMainThreadSyncTokenize | 1381 // Keys: parseHTMLOnMainThreadSyncTokenize |
1382 // parseHTMLOnMainThreadCoalesceChunks | 1382 // parseHTMLOnMainThreadCoalesceChunks |
1383 "ParseHTMLOnMainThread", | 1383 "ParseHTMLOnMainThread", |
| 1384 |
| 1385 // Keys: cssExternalScannerNoPreload |
| 1386 // cssExternalScannerPreload |
| 1387 "CSSExternalScanner", |
1384 }; | 1388 }; |
1385 | 1389 |
1386 std::vector<std::string> blink_settings; | 1390 std::vector<std::string> blink_settings; |
1387 for (const char* field_trial_name : kBlinkSettingsFieldTrials) { | 1391 for (const char* field_trial_name : kBlinkSettingsFieldTrials) { |
1388 // Each blink-settings field trial should include a forcing_flag group, | 1392 // Each blink-settings field trial should include a forcing_flag group, |
1389 // to make sure that clients that specify the blink-settings flag on the | 1393 // to make sure that clients that specify the blink-settings flag on the |
1390 // command line are excluded from the experiment groups. To make | 1394 // command line are excluded from the experiment groups. To make |
1391 // sure we assign clients that specify this flag to the forcing_flag | 1395 // sure we assign clients that specify this flag to the forcing_flag |
1392 // group, we must call GetVariationParams for each field trial first | 1396 // group, we must call GetVariationParams for each field trial first |
1393 // (for example, before checking HasSwitch() and returning), since | 1397 // (for example, before checking HasSwitch() and returning), since |
(...skipping 1655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3049 if (channel <= kMaxDisableEncryptionChannel) { | 3053 if (channel <= kMaxDisableEncryptionChannel) { |
3050 static const char* const kWebRtcDevSwitchNames[] = { | 3054 static const char* const kWebRtcDevSwitchNames[] = { |
3051 switches::kDisableWebRtcEncryption, | 3055 switches::kDisableWebRtcEncryption, |
3052 }; | 3056 }; |
3053 to_command_line->CopySwitchesFrom(from_command_line, | 3057 to_command_line->CopySwitchesFrom(from_command_line, |
3054 kWebRtcDevSwitchNames, | 3058 kWebRtcDevSwitchNames, |
3055 arraysize(kWebRtcDevSwitchNames)); | 3059 arraysize(kWebRtcDevSwitchNames)); |
3056 } | 3060 } |
3057 } | 3061 } |
3058 #endif // defined(ENABLE_WEBRTC) | 3062 #endif // defined(ENABLE_WEBRTC) |
OLD | NEW |