OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
674 // session_restore.h for details. | 674 // session_restore.h for details. |
675 const char kTabCountToLoadOnSessionRestore[]= | 675 const char kTabCountToLoadOnSessionRestore[]= |
676 "tab-count-to-load-on-session-restore"; | 676 "tab-count-to-load-on-session-restore"; |
677 | 677 |
678 // Pass the name of the current running automated test to Chrome. | 678 // Pass the name of the current running automated test to Chrome. |
679 const char kTestName[] = "test-name"; | 679 const char kTestName[] = "test-name"; |
680 | 680 |
681 // Runs the security test for the sandbox. | 681 // Runs the security test for the sandbox. |
682 const char kTestSandbox[] = "test-sandbox"; | 682 const char kTestSandbox[] = "test-sandbox"; |
683 | 683 |
| 684 // Pass the type of the current test harness ("browser" or "ui") |
| 685 const char kTestType[] = "test-type"; |
| 686 |
684 // The value of this switch tells the app to listen for and broadcast | 687 // The value of this switch tells the app to listen for and broadcast |
685 // testing-related messages on IPC channel with the given ID. | 688 // testing-related messages on IPC channel with the given ID. |
686 const char kTestingChannelID[] = "testing-channel"; | 689 const char kTestingChannelID[] = "testing-channel"; |
687 | 690 |
688 // Enables using ThumbnailStore instead of ThumbnailDatabase for setting and | 691 // Enables using ThumbnailStore instead of ThumbnailDatabase for setting and |
689 // getting thumbnails for the new tab page. | 692 // getting thumbnails for the new tab page. |
690 const char kThumbnailStore[] = "thumbnail-store"; | 693 const char kThumbnailStore[] = "thumbnail-store"; |
691 | 694 |
692 // Excludes these plugins from the plugin sandbox. | 695 // Excludes these plugins from the plugin sandbox. |
693 // This is a comma-separated list of plugin library names. | 696 // This is a comma-separated list of plugin library names. |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
793 // means the library could not be loaded correctly. | 796 // means the library could not be loaded correctly. |
794 const char kTestLoadLibcros[] = "test-load-libcros"; | 797 const char kTestLoadLibcros[] = "test-load-libcros"; |
795 | 798 |
796 // TODO(davemoore) Delete this once chromeos has started using | 799 // TODO(davemoore) Delete this once chromeos has started using |
797 // login-profile as its arg. | 800 // login-profile as its arg. |
798 const char kProfile[] = "profile"; | 801 const char kProfile[] = "profile"; |
799 | 802 |
800 // Specifies the profile to use once a chromeos user is logged in. | 803 // Specifies the profile to use once a chromeos user is logged in. |
801 const char kLoginProfile[] = "login-profile"; | 804 const char kLoginProfile[] = "login-profile"; |
802 | 805 |
| 806 // Specifies the user which is already logged in. |
| 807 const char kLoginUser[] = "login-user"; |
| 808 |
803 // Use the frame layout used in chromeos. | 809 // Use the frame layout used in chromeos. |
804 const char kChromeosFrame[] = "chromeos-frame"; | 810 const char kChromeosFrame[] = "chromeos-frame"; |
805 #endif | 811 #endif |
806 | 812 |
807 #if defined(OS_WIN) | 813 #if defined(OS_WIN) |
808 // Use NSS instead of the system SSL library for SSL. | 814 // Use NSS instead of the system SSL library for SSL. |
809 // This is a temporary testing flag. | 815 // This is a temporary testing flag. |
810 const char kUseNSSForSSL[] = "use-nss-for-ssl"; | 816 const char kUseNSSForSSL[] = "use-nss-for-ssl"; |
811 #endif | 817 #endif |
812 | 818 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
848 | 854 |
849 // ----------------------------------------------------------------------------- | 855 // ----------------------------------------------------------------------------- |
850 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 856 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
851 // | 857 // |
852 // You were going to just dump your switches here, weren't you? Instead, | 858 // You were going to just dump your switches here, weren't you? Instead, |
853 // please put them in alphabetical order above, or in order inside the | 859 // please put them in alphabetical order above, or in order inside the |
854 // appropriate ifdef at the bottom. The order should match the header. | 860 // appropriate ifdef at the bottom. The order should match the header. |
855 // ----------------------------------------------------------------------------- | 861 // ----------------------------------------------------------------------------- |
856 | 862 |
857 } // namespace switches | 863 } // namespace switches |
OLD | NEW |