| 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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 | 335 |
| 336 // Prevents the save password bubble from being enabled. | 336 // Prevents the save password bubble from being enabled. |
| 337 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble"; | 337 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble"; |
| 338 | 338 |
| 339 // Prevents SDCH persistence from being used. | 339 // Prevents SDCH persistence from being used. |
| 340 const char kDisableSdchPersistence[] = "disable-sdch-persistence"; | 340 const char kDisableSdchPersistence[] = "disable-sdch-persistence"; |
| 341 | 341 |
| 342 // Disables using bubbles for session restore request. | 342 // Disables using bubbles for session restore request. |
| 343 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble"; | 343 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble"; |
| 344 | 344 |
| 345 // Disables the Site Engagement service, which records interaction with sites |
| 346 // and allocates certain resources accordingly. |
| 347 const char kDisableSiteEngagementService[] = "disable-site-engagement-service"; |
| 348 |
| 345 // Disables the suggestions service. | 349 // Disables the suggestions service. |
| 346 const char kDisableSuggestionsService[] = "disable-suggestions-service"; | 350 const char kDisableSuggestionsService[] = "disable-suggestions-service"; |
| 347 | 351 |
| 348 // Disables syncing browser data to a Google Account. | 352 // Disables syncing browser data to a Google Account. |
| 349 const char kDisableSync[] = "disable-sync"; | 353 const char kDisableSync[] = "disable-sync"; |
| 350 | 354 |
| 351 // Disables syncing one or more sync data types that are on by default. | 355 // Disables syncing one or more sync data types that are on by default. |
| 352 // See sync/internal_api/public/base/model_type.h for possible types. Types | 356 // See sync/internal_api/public/base/model_type.h for possible types. Types |
| 353 // should be comma separated, and follow the naming convention for string | 357 // should be comma separated, and follow the naming convention for string |
| 354 // representation of model types, e.g.: | 358 // representation of model types, e.g.: |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 545 const char kEnableSdchPersistence[] = "enable-sdch-persistence"; | 549 const char kEnableSdchPersistence[] = "enable-sdch-persistence"; |
| 546 | 550 |
| 547 // Enables using bubbles for session restore request instead of infobars. | 551 // Enables using bubbles for session restore request instead of infobars. |
| 548 const char kEnableSessionCrashedBubble[] = "enable-session-crashed-bubble"; | 552 const char kEnableSessionCrashedBubble[] = "enable-session-crashed-bubble"; |
| 549 | 553 |
| 550 // Enable or disable settings in a separate browser window per profile | 554 // Enable or disable settings in a separate browser window per profile |
| 551 // (see SettingsWindowEnabled() below). | 555 // (see SettingsWindowEnabled() below). |
| 552 const char kEnableSettingsWindow[] = "enable-settings-window"; | 556 const char kEnableSettingsWindow[] = "enable-settings-window"; |
| 553 const char kDisableSettingsWindow[] = "disable-settings-window"; | 557 const char kDisableSettingsWindow[] = "disable-settings-window"; |
| 554 | 558 |
| 559 // Enable the Site Engagement service, which records interaction with sites and |
| 560 // allocates certain resources accordingly. |
| 561 const char kEnableSiteEngagementService[] = "enable-site-engagement-service"; |
| 562 |
| 555 // Enable SPDY/4, aka HTTP/2. This is a temporary testing flag. | 563 // Enable SPDY/4, aka HTTP/2. This is a temporary testing flag. |
| 556 const char kEnableSpdy4[] = "enable-spdy4"; | 564 const char kEnableSpdy4[] = "enable-spdy4"; |
| 557 | 565 |
| 558 // Enables the suggestions service. | 566 // Enables the suggestions service. |
| 559 const char kEnableSuggestionsService[] = "enable-suggestions-service"; | 567 const char kEnableSuggestionsService[] = "enable-suggestions-service"; |
| 560 | 568 |
| 561 // Enables the supervised user managed bookmarks folder. | 569 // Enables the supervised user managed bookmarks folder. |
| 562 const char kEnableSupervisedUserManagedBookmarksFolder[] = | 570 const char kEnableSupervisedUserManagedBookmarksFolder[] = |
| 563 "enable-supervised-user-managed-bookmarks-folder"; | 571 "enable-supervised-user-managed-bookmarks-folder"; |
| 564 | 572 |
| (...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1380 | 1388 |
| 1381 // ----------------------------------------------------------------------------- | 1389 // ----------------------------------------------------------------------------- |
| 1382 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1390 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1383 // | 1391 // |
| 1384 // You were going to just dump your switches here, weren't you? Instead, please | 1392 // You were going to just dump your switches here, weren't you? Instead, please |
| 1385 // put them in alphabetical order above, or in order inside the appropriate | 1393 // put them in alphabetical order above, or in order inside the appropriate |
| 1386 // ifdef at the bottom. The order should match the header. | 1394 // ifdef at the bottom. The order should match the header. |
| 1387 // ----------------------------------------------------------------------------- | 1395 // ----------------------------------------------------------------------------- |
| 1388 | 1396 |
| 1389 } // namespace switches | 1397 } // namespace switches |
| OLD | NEW |