| 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 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 462 // Runs the Native Client inside the renderer process and enables GPU plugin | 462 // Runs the Native Client inside the renderer process and enables GPU plugin |
| 463 // (internally adds lEnableGpuPlugin to the command line). | 463 // (internally adds lEnableGpuPlugin to the command line). |
| 464 const char kEnableNaCl[] = "enable-nacl"; | 464 const char kEnableNaCl[] = "enable-nacl"; |
| 465 | 465 |
| 466 // Enables the network-related benchmarking extensions. | 466 // Enables the network-related benchmarking extensions. |
| 467 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; | 467 const char kEnableNetBenchmarking[] = "enable-net-benchmarking"; |
| 468 | 468 |
| 469 // Enables the new bookmark app system. | 469 // Enables the new bookmark app system. |
| 470 const char kEnableNewBookmarkApps[] = "enable-new-bookmark-apps"; | 470 const char kEnableNewBookmarkApps[] = "enable-new-bookmark-apps"; |
| 471 | 471 |
| 472 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. | |
| 473 // HTTP is still used for all requests. | |
| 474 const char kEnableNpnHttpOnly[] = "enable-npn-http"; | |
| 475 | |
| 476 // Enable auto-reload of error pages if offline. | 472 // Enable auto-reload of error pages if offline. |
| 477 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; | 473 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; |
| 478 | 474 |
| 479 // Only auto-reload error pages when the tab is visible. | 475 // Only auto-reload error pages when the tab is visible. |
| 480 const char kEnableOfflineAutoReloadVisibleOnly[] = | 476 const char kEnableOfflineAutoReloadVisibleOnly[] = |
| 481 "enable-offline-auto-reload-visible-only"; | 477 "enable-offline-auto-reload-visible-only"; |
| 482 | 478 |
| 483 // Enables panels (always on-top docked pop-up windows). | 479 // Enables panels (always on-top docked pop-up windows). |
| 484 const char kEnablePanels[] = "enable-panels"; | 480 const char kEnablePanels[] = "enable-panels"; |
| 485 | 481 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 534 | 530 |
| 535 // Enable or disable settings in a separate browser window per profile | 531 // Enable or disable settings in a separate browser window per profile |
| 536 // (see SettingsWindowEnabled() below). | 532 // (see SettingsWindowEnabled() below). |
| 537 const char kEnableSettingsWindow[] = "enable-settings-window"; | 533 const char kEnableSettingsWindow[] = "enable-settings-window"; |
| 538 const char kDisableSettingsWindow[] = "disable-settings-window"; | 534 const char kDisableSettingsWindow[] = "disable-settings-window"; |
| 539 | 535 |
| 540 // Enable the Site Engagement service, which records interaction with sites and | 536 // Enable the Site Engagement service, which records interaction with sites and |
| 541 // allocates certain resources accordingly. | 537 // allocates certain resources accordingly. |
| 542 const char kEnableSiteEngagementService[] = "enable-site-engagement-service"; | 538 const char kEnableSiteEngagementService[] = "enable-site-engagement-service"; |
| 543 | 539 |
| 544 // Enable SPDY/4, aka HTTP/2. This is a temporary testing flag. | |
| 545 const char kEnableSpdy4[] = "enable-spdy4"; | |
| 546 | |
| 547 // Enables the suggestions service. | 540 // Enables the suggestions service. |
| 548 const char kEnableSuggestionsService[] = "enable-suggestions-service"; | 541 const char kEnableSuggestionsService[] = "enable-suggestions-service"; |
| 549 | 542 |
| 550 // Enables the supervised user managed bookmarks folder. | 543 // Enables the supervised user managed bookmarks folder. |
| 551 const char kEnableSupervisedUserManagedBookmarksFolder[] = | 544 const char kEnableSupervisedUserManagedBookmarksFolder[] = |
| 552 "enable-supervised-user-managed-bookmarks-folder"; | 545 "enable-supervised-user-managed-bookmarks-folder"; |
| 553 | 546 |
| 554 // Enables synced articles. | 547 // Enables synced articles. |
| 555 const char kEnableSyncArticles[] = "enable-sync-articles"; | 548 const char kEnableSyncArticles[] = "enable-sync-articles"; |
| 556 | 549 |
| (...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1379 | 1372 |
| 1380 // ----------------------------------------------------------------------------- | 1373 // ----------------------------------------------------------------------------- |
| 1381 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1374 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1382 // | 1375 // |
| 1383 // You were going to just dump your switches here, weren't you? Instead, please | 1376 // You were going to just dump your switches here, weren't you? Instead, please |
| 1384 // put them in alphabetical order above, or in order inside the appropriate | 1377 // put them in alphabetical order above, or in order inside the appropriate |
| 1385 // ifdef at the bottom. The order should match the header. | 1378 // ifdef at the bottom. The order should match the header. |
| 1386 // ----------------------------------------------------------------------------- | 1379 // ----------------------------------------------------------------------------- |
| 1387 | 1380 |
| 1388 } // namespace switches | 1381 } // namespace switches |
| OLD | NEW |