| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 551 // This is a comma-separated list of plugin library names. | 551 // This is a comma-separated list of plugin library names. |
| 552 const char kTrustedPlugins[] = "trusted-plugins"; | 552 const char kTrustedPlugins[] = "trusted-plugins"; |
| 553 | 553 |
| 554 // Experimental. Shows a dialog asking the user to try chrome. This flag | 554 // Experimental. Shows a dialog asking the user to try chrome. This flag |
| 555 // is to be used only by the upgrade process. | 555 // is to be used only by the upgrade process. |
| 556 const char kTryChromeAgain[] = "try-chrome-again"; | 556 const char kTryChromeAgain[] = "try-chrome-again"; |
| 557 | 557 |
| 558 // Runs un-installation steps that were done by chrome first-run. | 558 // Runs un-installation steps that were done by chrome first-run. |
| 559 const char kUninstall[] = "uninstall"; | 559 const char kUninstall[] = "uninstall"; |
| 560 | 560 |
| 561 // Use Flip for the transport protocol instead of HTTP. |
| 562 // This is a temporary testing flag. |
| 563 const char kUseFlip[] = "use-flip"; |
| 564 |
| 561 // Use the low fragmentation heap for the CRT. | 565 // Use the low fragmentation heap for the CRT. |
| 562 const char kUseLowFragHeapCrt[] = "use-lf-heap"; | 566 const char kUseLowFragHeapCrt[] = "use-lf-heap"; |
| 563 | 567 |
| 564 // A string used to override the default user agent with a custom one. | 568 // A string used to override the default user agent with a custom one. |
| 565 const char kUserAgent[] = "user-agent"; | 569 const char kUserAgent[] = "user-agent"; |
| 566 | 570 |
| 567 // Specifies the user data directory, which is where the browser will look | 571 // Specifies the user data directory, which is where the browser will look |
| 568 // for all of its state. | 572 // for all of its state. |
| 569 const char kUserDataDir[] = "user-data-dir"; | 573 const char kUserDataDir[] = "user-data-dir"; |
| 570 | 574 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 600 | 604 |
| 601 // Causes the process to run as a worker subprocess. | 605 // Causes the process to run as a worker subprocess. |
| 602 const char kWorkerProcess[] = "worker"; | 606 const char kWorkerProcess[] = "worker"; |
| 603 | 607 |
| 604 // The prefix used when starting the zygote process. (i.e. 'gdb --args') | 608 // The prefix used when starting the zygote process. (i.e. 'gdb --args') |
| 605 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; | 609 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; |
| 606 | 610 |
| 607 // Causes the process to run as a renderer zygote. | 611 // Causes the process to run as a renderer zygote. |
| 608 const char kZygoteProcess[] = "zygote"; | 612 const char kZygoteProcess[] = "zygote"; |
| 609 | 613 |
| 610 // Use Flip for the transport protocol instead of HTTP. | |
| 611 // This is a temporary testing flag. | |
| 612 const wchar_t kUseFlip[] = L"use-flip"; | |
| 613 | |
| 614 #if defined(OS_CHROMEOS) | 614 #if defined(OS_CHROMEOS) |
| 615 // The name of the pipe over which the Chrome OS login manager will send | 615 // The name of the pipe over which the Chrome OS login manager will send |
| 616 // single-sign-on cookies. | 616 // single-sign-on cookies. |
| 617 const char kCookiePipe[] = "cookie-pipe"; | 617 const char kCookiePipe[] = "cookie-pipe"; |
| 618 | 618 |
| 619 // Enable the redirection of viewable document requests to the Google | 619 // Enable the redirection of viewable document requests to the Google |
| 620 // Document Viewer. | 620 // Document Viewer. |
| 621 const char kEnableGView[] = "enable-gview"; | 621 const char kEnableGView[] = "enable-gview"; |
| 622 #endif | 622 #endif |
| 623 | 623 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 656 | 656 |
| 657 // ----------------------------------------------------------------------------- | 657 // ----------------------------------------------------------------------------- |
| 658 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 658 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 659 // | 659 // |
| 660 // You were going to just dump your switches here, weren't you? Instead, | 660 // You were going to just dump your switches here, weren't you? Instead, |
| 661 // please put them in alphabetical order above, or in order inside the | 661 // please put them in alphabetical order above, or in order inside the |
| 662 // appropriate ifdef at the bottom. The order should match the header. | 662 // appropriate ifdef at the bottom. The order should match the header. |
| 663 // ----------------------------------------------------------------------------- | 663 // ----------------------------------------------------------------------------- |
| 664 | 664 |
| 665 } // namespace switches | 665 } // namespace switches |
| OLD | NEW |