| 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 | 344 |
| 345 // Prevents the save password bubble from being enabled. | 345 // Prevents the save password bubble from being enabled. |
| 346 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble"; | 346 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble"; |
| 347 | 347 |
| 348 // Prevents SDCH persistence from being used. | 348 // Prevents SDCH persistence from being used. |
| 349 const char kDisableSdchPersistence[] = "disable-sdch-persistence"; | 349 const char kDisableSdchPersistence[] = "disable-sdch-persistence"; |
| 350 | 350 |
| 351 // Disables using bubbles for session restore request. | 351 // Disables using bubbles for session restore request. |
| 352 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble"; | 352 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble"; |
| 353 | 353 |
| 354 // Disables the Site Engagement service, which records interaction with sites |
| 355 // and allocates certain resources accordingly. |
| 356 const char kDisableSiteEngagementService[] = "disable-site-engagement-service"; |
| 357 |
| 354 // Disables the suggestions service. | 358 // Disables the suggestions service. |
| 355 const char kDisableSuggestionsService[] = "disable-suggestions-service"; | 359 const char kDisableSuggestionsService[] = "disable-suggestions-service"; |
| 356 | 360 |
| 357 // Disables syncing browser data to a Google Account. | 361 // Disables syncing browser data to a Google Account. |
| 358 const char kDisableSync[] = "disable-sync"; | 362 const char kDisableSync[] = "disable-sync"; |
| 359 | 363 |
| 360 // Disables syncing one or more sync data types that are on by default. | 364 // Disables syncing one or more sync data types that are on by default. |
| 361 // See sync/internal_api/public/base/model_type.h for possible types. Types | 365 // See sync/internal_api/public/base/model_type.h for possible types. Types |
| 362 // should be comma separated, and follow the naming convention for string | 366 // should be comma separated, and follow the naming convention for string |
| 363 // representation of model types, e.g.: | 367 // representation of model types, e.g.: |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 const char kEnableSdchPersistence[] = "enable-sdch-persistence"; | 558 const char kEnableSdchPersistence[] = "enable-sdch-persistence"; |
| 555 | 559 |
| 556 // Enables using bubbles for session restore request instead of infobars. | 560 // Enables using bubbles for session restore request instead of infobars. |
| 557 const char kEnableSessionCrashedBubble[] = "enable-session-crashed-bubble"; | 561 const char kEnableSessionCrashedBubble[] = "enable-session-crashed-bubble"; |
| 558 | 562 |
| 559 // Enable or disable settings in a separate browser window per profile | 563 // Enable or disable settings in a separate browser window per profile |
| 560 // (see SettingsWindowEnabled() below). | 564 // (see SettingsWindowEnabled() below). |
| 561 const char kEnableSettingsWindow[] = "enable-settings-window"; | 565 const char kEnableSettingsWindow[] = "enable-settings-window"; |
| 562 const char kDisableSettingsWindow[] = "disable-settings-window"; | 566 const char kDisableSettingsWindow[] = "disable-settings-window"; |
| 563 | 567 |
| 568 // Enable the Site Engagement service, which records interaction with sites and |
| 569 // allocates certain resources accordingly. |
| 570 const char kEnableSiteEngagementService[] = "enable-site-engagement-service"; |
| 571 |
| 564 // Enable SPDY/4, aka HTTP/2. This is a temporary testing flag. | 572 // Enable SPDY/4, aka HTTP/2. This is a temporary testing flag. |
| 565 const char kEnableSpdy4[] = "enable-spdy4"; | 573 const char kEnableSpdy4[] = "enable-spdy4"; |
| 566 | 574 |
| 567 // Enables the suggestions service. | 575 // Enables the suggestions service. |
| 568 const char kEnableSuggestionsService[] = "enable-suggestions-service"; | 576 const char kEnableSuggestionsService[] = "enable-suggestions-service"; |
| 569 | 577 |
| 570 // Enables the supervised user managed bookmarks folder. | 578 // Enables the supervised user managed bookmarks folder. |
| 571 const char kEnableSupervisedUserManagedBookmarksFolder[] = | 579 const char kEnableSupervisedUserManagedBookmarksFolder[] = |
| 572 "enable-supervised-user-managed-bookmarks-folder"; | 580 "enable-supervised-user-managed-bookmarks-folder"; |
| 573 | 581 |
| (...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1400 | 1408 |
| 1401 // ----------------------------------------------------------------------------- | 1409 // ----------------------------------------------------------------------------- |
| 1402 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1410 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1403 // | 1411 // |
| 1404 // You were going to just dump your switches here, weren't you? Instead, please | 1412 // You were going to just dump your switches here, weren't you? Instead, please |
| 1405 // put them in alphabetical order above, or in order inside the appropriate | 1413 // put them in alphabetical order above, or in order inside the appropriate |
| 1406 // ifdef at the bottom. The order should match the header. | 1414 // ifdef at the bottom. The order should match the header. |
| 1407 // ----------------------------------------------------------------------------- | 1415 // ----------------------------------------------------------------------------- |
| 1408 | 1416 |
| 1409 } // namespace switches | 1417 } // namespace switches |
| OLD | NEW |