| 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 1493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1504 "HtmlPreloadScanning", | 1504 "HtmlPreloadScanning", |
| 1505 | 1505 |
| 1506 // Keys: lowPriorityIframes | 1506 // Keys: lowPriorityIframes |
| 1507 "LowPriorityIFrames", | 1507 "LowPriorityIFrames", |
| 1508 | 1508 |
| 1509 // Keys: disallowFetchForDocWrittenScriptsInMainFrame | 1509 // Keys: disallowFetchForDocWrittenScriptsInMainFrame |
| 1510 // disallowFetchForDocWrittenScriptsInMainFrameOnSlowConnections | 1510 // disallowFetchForDocWrittenScriptsInMainFrameOnSlowConnections |
| 1511 // disallowFetchForDocWrittenScriptsInMainFrameIfEffectively2G | 1511 // disallowFetchForDocWrittenScriptsInMainFrameIfEffectively2G |
| 1512 "DisallowFetchForDocWrittenScriptsInMainFrame", | 1512 "DisallowFetchForDocWrittenScriptsInMainFrame", |
| 1513 | 1513 |
| 1514 // Keys: parseHTMLOnMainThreadSyncTokenize | |
| 1515 // parseHTMLOnMainThreadCoalesceChunks | |
| 1516 "ParseHTMLOnMainThread", | |
| 1517 | |
| 1518 // Keys: cssExternalScannerNoPreload | 1514 // Keys: cssExternalScannerNoPreload |
| 1519 // cssExternalScannerPreload | 1515 // cssExternalScannerPreload |
| 1520 "CSSExternalScanner", | 1516 "CSSExternalScanner", |
| 1521 }; | 1517 }; |
| 1522 | 1518 |
| 1523 std::vector<std::string> blink_settings; | 1519 std::vector<std::string> blink_settings; |
| 1524 for (const char* field_trial_name : kBlinkSettingsFieldTrials) { | 1520 for (const char* field_trial_name : kBlinkSettingsFieldTrials) { |
| 1525 // Each blink-settings field trial should include a forcing_flag group, | 1521 // Each blink-settings field trial should include a forcing_flag group, |
| 1526 // to make sure that clients that specify the blink-settings flag on the | 1522 // to make sure that clients that specify the blink-settings flag on the |
| 1527 // command line are excluded from the experiment groups. To make | 1523 // command line are excluded from the experiment groups. To make |
| (...skipping 1890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3418 bool ChromeContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { | 3414 bool ChromeContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { |
| 3419 return variations::GetVariationParamValue( | 3415 return variations::GetVariationParamValue( |
| 3420 "BrowserScheduler", "RedirectDOMStorageTaskRunner") == "true"; | 3416 "BrowserScheduler", "RedirectDOMStorageTaskRunner") == "true"; |
| 3421 } | 3417 } |
| 3422 | 3418 |
| 3423 bool ChromeContentBrowserClient:: | 3419 bool ChromeContentBrowserClient:: |
| 3424 RedirectNonUINonIOBrowserThreadsToTaskScheduler() { | 3420 RedirectNonUINonIOBrowserThreadsToTaskScheduler() { |
| 3425 return variations::GetVariationParamValue( | 3421 return variations::GetVariationParamValue( |
| 3426 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; | 3422 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; |
| 3427 } | 3423 } |
| OLD | NEW |