| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "ppapi/features/features.h" | 10 #include "ppapi/features/features.h" |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 // a post we prompt to make sure they want to. This switch may be used to | 257 // a post we prompt to make sure they want to. This switch may be used to |
| 258 // disable that check. This switch is used during automated testing. | 258 // disable that check. This switch is used during automated testing. |
| 259 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; | 259 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; |
| 260 | 260 |
| 261 // Enable background mode for the Push API. | 261 // Enable background mode for the Push API. |
| 262 const char kDisablePushApiBackgroundMode[] = "disable-push-api-background-mode"; | 262 const char kDisablePushApiBackgroundMode[] = "disable-push-api-background-mode"; |
| 263 | 263 |
| 264 // Disables the QUIC protocol. | 264 // Disables the QUIC protocol. |
| 265 const char kDisableQuic[] = "disable-quic"; | 265 const char kDisableQuic[] = "disable-quic"; |
| 266 | 266 |
| 267 // Disables showing the search geolocation disclosure UI. Used for perf testing. |
| 268 const char kDisableSearchGeolocationDisclosure[] = |
| 269 "disable-search-geolocation-disclosure"; |
| 270 |
| 267 // Disable settings in a separate browser window per profile | 271 // Disable settings in a separate browser window per profile |
| 268 // (see SettingsWindowEnabled() below). | 272 // (see SettingsWindowEnabled() below). |
| 269 const char kDisableSettingsWindow[] = "disable-settings-window"; | 273 const char kDisableSettingsWindow[] = "disable-settings-window"; |
| 270 | 274 |
| 271 // Disables Web Notification custom layouts. | 275 // Disables Web Notification custom layouts. |
| 272 const char kDisableWebNotificationCustomLayouts[] = | 276 const char kDisableWebNotificationCustomLayouts[] = |
| 273 "disable-web-notification-custom-layouts"; | 277 "disable-web-notification-custom-layouts"; |
| 274 | 278 |
| 275 // Some tests seem to require the application to close when the last | 279 // Some tests seem to require the application to close when the last |
| 276 // browser window is closed. Thus, we need a switch to force this behavior | 280 // browser window is closed. Thus, we need a switch to force this behavior |
| (...skipping 896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1173 | 1177 |
| 1174 // ----------------------------------------------------------------------------- | 1178 // ----------------------------------------------------------------------------- |
| 1175 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. | 1179 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. |
| 1176 // | 1180 // |
| 1177 // You were going to just dump your switches here, weren't you? Instead, please | 1181 // You were going to just dump your switches here, weren't you? Instead, please |
| 1178 // put them in alphabetical order above, or in order inside the appropriate | 1182 // put them in alphabetical order above, or in order inside the appropriate |
| 1179 // ifdef at the bottom. The order should match the header. | 1183 // ifdef at the bottom. The order should match the header. |
| 1180 // ----------------------------------------------------------------------------- | 1184 // ----------------------------------------------------------------------------- |
| 1181 | 1185 |
| 1182 } // namespace switches | 1186 } // namespace switches |
| OLD | NEW |