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 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
737 | 737 |
738 // Indicates the last session should be restored on startup. This overrides | 738 // Indicates the last session should be restored on startup. This overrides |
739 // the preferences value and is primarily intended for testing. The value of | 739 // the preferences value and is primarily intended for testing. The value of |
740 // this switch is the number of tabs to wait until loaded before | 740 // this switch is the number of tabs to wait until loaded before |
741 // 'load completed' is sent to the ui_test. | 741 // 'load completed' is sent to the ui_test. |
742 const char kRestoreLastSession[] = "restore-last-session"; | 742 const char kRestoreLastSession[] = "restore-last-session"; |
743 | 743 |
744 // Runs the plugin processes inside the sandbox. | 744 // Runs the plugin processes inside the sandbox. |
745 const char kSafePlugins[] = "safe-plugins"; | 745 const char kSafePlugins[] = "safe-plugins"; |
746 | 746 |
| 747 // URL prefix used by safebrowsing to fetch hash, download data and |
| 748 // report malware. |
| 749 const char kSbInfoURLPrefix[] = "safebrowsing-info-url-prefix"; |
| 750 // URL prefix used by safebrowsing to get MAC key. |
| 751 const char kSbMacKeyURLPrefix[] = "safebrowsing-mackey-url-prefix"; |
| 752 // If present, safebrowsing only performs update when |
| 753 // SafeBrowsingProtocolManager::ForceScheduleNextUpdate() is explicitly called. |
| 754 // This is used for testing only. |
| 755 const char kSbDisableAutoUpdate[] = "safebrowsing-disable-auto-update"; |
| 756 |
747 // Enable support for SDCH filtering (dictionary based expansion of content). | 757 // Enable support for SDCH filtering (dictionary based expansion of content). |
748 // Optional argument is *the* only domain name that will have SDCH suppport. | 758 // Optional argument is *the* only domain name that will have SDCH suppport. |
749 // Default is "-enable-sdch" to advertise SDCH on all domains. | 759 // Default is "-enable-sdch" to advertise SDCH on all domains. |
750 // Sample usage with argument: "-enable-sdch=.google.com" | 760 // Sample usage with argument: "-enable-sdch=.google.com" |
751 // SDCH is currently only supported server-side for searches on google.com. | 761 // SDCH is currently only supported server-side for searches on google.com. |
752 const char kSdchFilter[] = "enable-sdch"; | 762 const char kSdchFilter[] = "enable-sdch"; |
753 | 763 |
754 // Enables the showing of an info-bar instructing user they can search directly | 764 // Enables the showing of an info-bar instructing user they can search directly |
755 // from the omnibox. | 765 // from the omnibox. |
756 const char kSearchInOmniboxHint[] = "search-in-omnibox-hint"; | 766 const char kSearchInOmniboxHint[] = "search-in-omnibox-hint"; |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1054 | 1064 |
1055 // ----------------------------------------------------------------------------- | 1065 // ----------------------------------------------------------------------------- |
1056 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1066 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1057 // | 1067 // |
1058 // You were going to just dump your switches here, weren't you? Instead, | 1068 // You were going to just dump your switches here, weren't you? Instead, |
1059 // please put them in alphabetical order above, or in order inside the | 1069 // please put them in alphabetical order above, or in order inside the |
1060 // appropriate ifdef at the bottom. The order should match the header. | 1070 // appropriate ifdef at the bottom. The order should match the header. |
1061 // ----------------------------------------------------------------------------- | 1071 // ----------------------------------------------------------------------------- |
1062 | 1072 |
1063 } // namespace switches | 1073 } // namespace switches |
OLD | NEW |