Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(506)

Side by Side Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2666993006: Enable ParseHTMLOnMainThread on TOT (Closed)
Patch Set: clean up virtual test suites Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/child/runtime_features.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698