| 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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 // Prevents SDCH persistence from being used. | 325 // Prevents SDCH persistence from being used. |
| 326 const char kDisableSdchPersistence[] = "disable-sdch-persistence"; | 326 const char kDisableSdchPersistence[] = "disable-sdch-persistence"; |
| 327 | 327 |
| 328 // Disables using bubbles for session restore request. | 328 // Disables using bubbles for session restore request. |
| 329 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble"; | 329 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble"; |
| 330 | 330 |
| 331 // Disables the Site Engagement service, which records interaction with sites | 331 // Disables the Site Engagement service, which records interaction with sites |
| 332 // and allocates certain resources accordingly. | 332 // and allocates certain resources accordingly. |
| 333 const char kDisableSiteEngagementService[] = "disable-site-engagement-service"; | 333 const char kDisableSiteEngagementService[] = "disable-site-engagement-service"; |
| 334 | 334 |
| 335 // Disables the suggestions service. | |
| 336 const char kDisableSuggestionsService[] = "disable-suggestions-service"; | |
| 337 | |
| 338 // Disables syncing browser data to a Google Account. | 335 // Disables syncing browser data to a Google Account. |
| 339 const char kDisableSync[] = "disable-sync"; | 336 const char kDisableSync[] = "disable-sync"; |
| 340 | 337 |
| 341 // Disables syncing one or more sync data types that are on by default. | 338 // Disables syncing one or more sync data types that are on by default. |
| 342 // See sync/internal_api/public/base/model_type.h for possible types. Types | 339 // See sync/internal_api/public/base/model_type.h for possible types. Types |
| 343 // should be comma separated, and follow the naming convention for string | 340 // should be comma separated, and follow the naming convention for string |
| 344 // representation of model types, e.g.: | 341 // representation of model types, e.g.: |
| 345 // --disable-synctypes='Typed URLs, Bookmarks, Autofill Profiles' | 342 // --disable-synctypes='Typed URLs, Bookmarks, Autofill Profiles' |
| 346 const char kDisableSyncTypes[] = "disable-sync-types"; | 343 const char kDisableSyncTypes[] = "disable-sync-types"; |
| 347 | 344 |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 // A new user experience for transitioning into fullscreen and mouse pointer | 525 // A new user experience for transitioning into fullscreen and mouse pointer |
| 529 // lock states. | 526 // lock states. |
| 530 const char kEnableSimplifiedFullscreenUI[] = "enable-simplified-fullscreen-ui"; | 527 const char kEnableSimplifiedFullscreenUI[] = "enable-simplified-fullscreen-ui"; |
| 531 const char kDisableSimplifiedFullscreenUI[] = | 528 const char kDisableSimplifiedFullscreenUI[] = |
| 532 "disable-simplified-fullscreen-ui"; | 529 "disable-simplified-fullscreen-ui"; |
| 533 | 530 |
| 534 // Enable the Site Engagement service, which records interaction with sites and | 531 // Enable the Site Engagement service, which records interaction with sites and |
| 535 // allocates certain resources accordingly. | 532 // allocates certain resources accordingly. |
| 536 const char kEnableSiteEngagementService[] = "enable-site-engagement-service"; | 533 const char kEnableSiteEngagementService[] = "enable-site-engagement-service"; |
| 537 | 534 |
| 538 // Enables the suggestions service. | |
| 539 const char kEnableSuggestionsService[] = "enable-suggestions-service"; | |
| 540 | |
| 541 // Enables the supervised user managed bookmarks folder. | 535 // Enables the supervised user managed bookmarks folder. |
| 542 const char kEnableSupervisedUserManagedBookmarksFolder[] = | 536 const char kEnableSupervisedUserManagedBookmarksFolder[] = |
| 543 "enable-supervised-user-managed-bookmarks-folder"; | 537 "enable-supervised-user-managed-bookmarks-folder"; |
| 544 | 538 |
| 545 // Enables user control over muting tab audio from the tab strip. | 539 // Enables user control over muting tab audio from the tab strip. |
| 546 const char kEnableTabAudioMuting[] = "enable-tab-audio-muting"; | 540 const char kEnableTabAudioMuting[] = "enable-tab-audio-muting"; |
| 547 | 541 |
| 548 // Enables fanciful thumbnail processing. Used with NTP for | 542 // Enables fanciful thumbnail processing. Used with NTP for |
| 549 // instant-extended-api, where thumbnails are generally smaller. | 543 // instant-extended-api, where thumbnails are generally smaller. |
| 550 const char kEnableThumbnailRetargeting[] = "enable-thumbnail-retargeting"; | 544 const char kEnableThumbnailRetargeting[] = "enable-thumbnail-retargeting"; |
| (...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1397 | 1391 |
| 1398 // ----------------------------------------------------------------------------- | 1392 // ----------------------------------------------------------------------------- |
| 1399 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1393 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1400 // | 1394 // |
| 1401 // You were going to just dump your switches here, weren't you? Instead, please | 1395 // You were going to just dump your switches here, weren't you? Instead, please |
| 1402 // put them in alphabetical order above, or in order inside the appropriate | 1396 // put them in alphabetical order above, or in order inside the appropriate |
| 1403 // ifdef at the bottom. The order should match the header. | 1397 // ifdef at the bottom. The order should match the header. |
| 1404 // ----------------------------------------------------------------------------- | 1398 // ----------------------------------------------------------------------------- |
| 1405 | 1399 |
| 1406 } // namespace switches | 1400 } // namespace switches |
| OLD | NEW |