OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Defines all the command-line switches used by Chrome. | 5 // Defines all the command-line switches used by Chrome. |
6 | 6 |
7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ | 7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ |
8 #define CHROME_COMMON_CHROME_SWITCHES_H_ | 8 #define CHROME_COMMON_CHROME_SWITCHES_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 extern const char kEnableIPPooling[]; | 145 extern const char kEnableIPPooling[]; |
146 extern const char kEnableLazyBackgroundPages[]; | 146 extern const char kEnableLazyBackgroundPages[]; |
147 extern const char kEnableMacCookies[]; | 147 extern const char kEnableMacCookies[]; |
148 extern const char kEnableMemoryInfo[]; | 148 extern const char kEnableMemoryInfo[]; |
149 extern const char kEnableNaCl[]; | 149 extern const char kEnableNaCl[]; |
150 extern const char kEnableNaClDebug[]; | 150 extern const char kEnableNaClDebug[]; |
151 extern const char kEnableNTPBookmarkFeatures[]; | 151 extern const char kEnableNTPBookmarkFeatures[]; |
152 extern const char kEnablePlatformApps[]; | 152 extern const char kEnablePlatformApps[]; |
153 extern const char kEnablePreconnect[]; | 153 extern const char kEnablePreconnect[]; |
154 extern const char kEnableProfiling[]; | 154 extern const char kEnableProfiling[]; |
| 155 extern const char kEnableRestoreSessionState[]; |
155 extern const char kEnableResourceContentSettings[]; | 156 extern const char kEnableResourceContentSettings[]; |
156 extern const char kEnableSdch[]; | 157 extern const char kEnableSdch[]; |
157 extern const char kEnableSearchProviderApiV2[]; | 158 extern const char kEnableSearchProviderApiV2[]; |
158 extern const char kEnableSmoothScrolling[]; | 159 extern const char kEnableSmoothScrolling[]; |
159 // TODO(kalman): Add to about:flags when UI for syncing extension settings has | 160 // TODO(kalman): Add to about:flags when UI for syncing extension settings has |
160 // been figured out. | 161 // been figured out. |
161 extern const char kEnableSyncExtensionSettings[]; | 162 extern const char kEnableSyncExtensionSettings[]; |
162 extern const char kEnableSyncOAuth[]; | 163 extern const char kEnableSyncOAuth[]; |
163 extern const char kEnableSyncTabs[]; | 164 extern const char kEnableSyncTabs[]; |
164 extern const char kEnableSyncTabsForOtherClients[]; | 165 extern const char kEnableSyncTabsForOtherClients[]; |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 bool IsPrintPreviewEnabled(); | 379 bool IsPrintPreviewEnabled(); |
379 | 380 |
380 bool IsInBrowserThumbnailingEnabled(); | 381 bool IsInBrowserThumbnailingEnabled(); |
381 | 382 |
382 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 383 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
383 // alphabetical order, or in one of the ifdefs (also in order in each section). | 384 // alphabetical order, or in one of the ifdefs (also in order in each section). |
384 | 385 |
385 } // namespace switches | 386 } // namespace switches |
386 | 387 |
387 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 388 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |