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 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 // is needed for a domain which shares an IP with an existing connection, | 328 // is needed for a domain which shares an IP with an existing connection, |
329 // attempt to use the existing connection. | 329 // attempt to use the existing connection. |
330 const char kDisableIPPooling[] = "disable-ip-pooling"; | 330 const char kDisableIPPooling[] = "disable-ip-pooling"; |
331 | 331 |
332 // Avoid doing expensive animations upon login. | 332 // Avoid doing expensive animations upon login. |
333 const char kDisableLoginAnimations[] = "disable-login-animations"; | 333 const char kDisableLoginAnimations[] = "disable-login-animations"; |
334 | 334 |
335 // Disables the menu on the NTP for accessing sessions from other devices. | 335 // Disables the menu on the NTP for accessing sessions from other devices. |
336 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; | 336 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; |
337 | 337 |
| 338 // Disables the inline off-store extension installation UI. With this switch, |
| 339 // users must use a new out-of-band installation UI from chrome://extensions/. |
| 340 const char kDisableOffStoreExtensionInstall[] = |
| 341 "disable-off-store-extension-install"; |
| 342 |
338 // Disable speculative TCP/IP preconnection. | 343 // Disable speculative TCP/IP preconnection. |
339 const char kDisablePreconnect[] = "disable-preconnect"; | 344 const char kDisablePreconnect[] = "disable-preconnect"; |
340 | 345 |
341 // Normally when the user attempts to navigate to a page that was the result of | 346 // Normally when the user attempts to navigate to a page that was the result of |
342 // a post we prompt to make sure they want to. This switch may be used to | 347 // a post we prompt to make sure they want to. This switch may be used to |
343 // disable that check. This switch is used during automated testing. | 348 // disable that check. This switch is used during automated testing. |
344 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; | 349 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; |
345 | 350 |
346 // Prevents the URLs of BackgroundContents from being remembered and | 351 // Prevents the URLs of BackgroundContents from being remembered and |
347 // re-launched when the browser restarts. | 352 // re-launched when the browser restarts. |
(...skipping 1068 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1416 | 1421 |
1417 // ----------------------------------------------------------------------------- | 1422 // ----------------------------------------------------------------------------- |
1418 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1423 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1419 // | 1424 // |
1420 // You were going to just dump your switches here, weren't you? Instead, please | 1425 // You were going to just dump your switches here, weren't you? Instead, please |
1421 // put them in alphabetical order above, or in order inside the appropriate | 1426 // put them in alphabetical order above, or in order inside the appropriate |
1422 // ifdef at the bottom. The order should match the header. | 1427 // ifdef at the bottom. The order should match the header. |
1423 // ----------------------------------------------------------------------------- | 1428 // ----------------------------------------------------------------------------- |
1424 | 1429 |
1425 } // namespace switches | 1430 } // namespace switches |
OLD | NEW |