| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
| 6 | 6 |
| 7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
| 8 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 // mechanism. | 466 // mechanism. |
| 467 const wchar_t kDisableAudio[] = L"disable-audio"; | 467 const wchar_t kDisableAudio[] = L"disable-audio"; |
| 468 | 468 |
| 469 // Replaces the buffered data source for <audio> and <video> with a simplified | 469 // Replaces the buffered data source for <audio> and <video> with a simplified |
| 470 // resource loader that downloads the entire resource into memory. | 470 // resource loader that downloads the entire resource into memory. |
| 471 // | 471 // |
| 472 // TODO(scherkus): remove --simple-data-source when our media resource loading | 472 // TODO(scherkus): remove --simple-data-source when our media resource loading |
| 473 // is cleaned up and playback testing completed. | 473 // is cleaned up and playback testing completed. |
| 474 const wchar_t kSimpleDataSource[] = L"simple-data-source"; | 474 const wchar_t kSimpleDataSource[] = L"simple-data-source"; |
| 475 | 475 |
| 476 // Some field tests may be performed in the browser, and the randomly selected | 476 // Some field tests may rendomized in the browser, and the randomly selected |
| 477 // outcome needs to be propogated to the renderer to appropriately modify the | 477 // outcome needs to be propogated to the renderer. For instance, this is used |
| 478 // histogram names that will be tested. This command line argument is only | 478 // to modify histograms recorded in the renderer, or to get the renderer to |
| 479 // parsed by the renderer, and consists of a field test name, and a forced | 479 // also set of its state (initialize, or not initialize components) to match the |
| 480 // selection of an outcome. For example, if a field test "DnsImpact" has | 480 // experiment(s). |
| 481 // selected "_disabled_prefetch" as a current test, then the render should be | 481 // The argument is a string-ized list of experiment names, and the associated |
| 482 // passed the command line: | 482 // value that was randomly selected. In the recent implementetaion, the |
| 483 // force-fieldtest=DnsImpact/_disabled_prefetch | 483 // persistent representation generated by field_trial.cc and later decoded, is a |
| 484 // The renderer will then force said named field test to exist, and will force | 484 // list of name and value pairs, separated by slashes. See field trial.cc for |
| 485 // the selected outcome to have the indicated text value. | 485 // current details. |
| 486 const wchar_t kForceFieldTestNameAndValue[] = L"force-fieldtest"; | 486 const wchar_t kForceFieldTestNameAndValue[] = L"force-fieldtest"; |
| 487 | 487 |
| 488 // Allows the new tab page resource to be loaded from a local HTML file. This | 488 // Allows the new tab page resource to be loaded from a local HTML file. This |
| 489 // should be a path to the HTML file that you want to use for the new tab page. | 489 // should be a path to the HTML file that you want to use for the new tab page. |
| 490 const wchar_t kNewTabPage[] = L"new-tab-page"; | 490 const wchar_t kNewTabPage[] = L"new-tab-page"; |
| 491 | 491 |
| 492 // Switches back to the old new tab page. | 492 // Switches back to the old new tab page. |
| 493 const wchar_t kOldNewTabPage[] = L"old-new-tab-page"; | 493 const wchar_t kOldNewTabPage[] = L"old-new-tab-page"; |
| 494 | 494 |
| 495 // Enables the prototype of the backend service for web resources, used in the | 495 // Enables the prototype of the backend service for web resources, used in the |
| (...skipping 30 matching lines...) Expand all Loading... |
| 526 // On Windows, converts the page to the currently-installed monitor profile. | 526 // On Windows, converts the page to the currently-installed monitor profile. |
| 527 // This does NOT enable color management for images. The source is still assumed | 527 // This does NOT enable color management for images. The source is still assumed |
| 528 // to be sRGB. | 528 // to be sRGB. |
| 529 const wchar_t kEnableMonitorProfile[] = L"enable-monitor-profile"; | 529 const wchar_t kEnableMonitorProfile[] = L"enable-monitor-profile"; |
| 530 | 530 |
| 531 // Enable WebKit's XSSAuditor to mitigate reflective XSS. The XSSAuditor is | 531 // Enable WebKit's XSSAuditor to mitigate reflective XSS. The XSSAuditor is |
| 532 // still experimental. | 532 // still experimental. |
| 533 const wchar_t kEnableXSSAuditor[] = L"enable-xss-auditor"; | 533 const wchar_t kEnableXSSAuditor[] = L"enable-xss-auditor"; |
| 534 | 534 |
| 535 } // namespace switches | 535 } // namespace switches |
| OLD | NEW |