| 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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 const char kDisableSupervisedUserBlacklist[] = | 356 const char kDisableSupervisedUserBlacklist[] = |
| 357 "disable-supervised-user-blacklist"; | 357 "disable-supervised-user-blacklist"; |
| 358 | 358 |
| 359 // Disables SafeSites filtering for supervised users. | 359 // Disables SafeSites filtering for supervised users. |
| 360 const char kDisableSupervisedUserSafeSites[] = | 360 const char kDisableSupervisedUserSafeSites[] = |
| 361 "disable-supervised-user-safesites"; | 361 "disable-supervised-user-safesites"; |
| 362 | 362 |
| 363 // Disables syncing browser data to a Google Account. | 363 // Disables syncing browser data to a Google Account. |
| 364 const char kDisableSync[] = "disable-sync"; | 364 const char kDisableSync[] = "disable-sync"; |
| 365 | 365 |
| 366 // Disable synced notifications. | |
| 367 const char kDisableSyncSyncedNotifications[] = | |
| 368 "disable-sync-synced-notifications"; | |
| 369 | |
| 370 // Disables syncing one or more sync data types that are on by default. | 366 // Disables syncing one or more sync data types that are on by default. |
| 371 // See sync/internal_api/public/base/model_type.h for possible types. Types | 367 // See sync/internal_api/public/base/model_type.h for possible types. Types |
| 372 // should be comma separated, and follow the naming convention for string | 368 // should be comma separated, and follow the naming convention for string |
| 373 // representation of model types, e.g.: | 369 // representation of model types, e.g.: |
| 374 // --disable-synctypes='Typed URLs, Bookmarks, Autofill Profiles' | 370 // --disable-synctypes='Typed URLs, Bookmarks, Autofill Profiles' |
| 375 const char kDisableSyncTypes[] = "disable-sync-types"; | 371 const char kDisableSyncTypes[] = "disable-sync-types"; |
| 376 | 372 |
| 377 // Disables the backend service for web resources. | 373 // Disables the backend service for web resources. |
| 378 const char kDisableWebResources[] = "disable-web-resources"; | 374 const char kDisableWebResources[] = "disable-web-resources"; |
| 379 | 375 |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 614 const char kEnableSuggestionsService[] = "enable-suggestions-service"; | 610 const char kEnableSuggestionsService[] = "enable-suggestions-service"; |
| 615 | 611 |
| 616 // Enables the supervised user host blacklist. | 612 // Enables the supervised user host blacklist. |
| 617 const char kEnableSupervisedUserBlacklist[] = | 613 const char kEnableSupervisedUserBlacklist[] = |
| 618 "enable-supervised-user-blacklist"; | 614 "enable-supervised-user-blacklist"; |
| 619 | 615 |
| 620 // Enables SafeSites filtering for supervised users. | 616 // Enables SafeSites filtering for supervised users. |
| 621 const char kEnableSupervisedUserSafeSites[] = | 617 const char kEnableSupervisedUserSafeSites[] = |
| 622 "enable-supervised-user-safesites"; | 618 "enable-supervised-user-safesites"; |
| 623 | 619 |
| 624 // Enables synced notifications. | |
| 625 const char kEnableSyncSyncedNotifications[] = | |
| 626 "enable-sync-synced-notifications"; | |
| 627 | |
| 628 // Enables synced articles. | 620 // Enables synced articles. |
| 629 const char kEnableSyncArticles[] = "enable-sync-articles"; | 621 const char kEnableSyncArticles[] = "enable-sync-articles"; |
| 630 | 622 |
| 631 // Enables user control over muting tab audio from the tab strip. | 623 // Enables user control over muting tab audio from the tab strip. |
| 632 const char kEnableTabAudioMuting[] = "enable-tab-audio-muting"; | 624 const char kEnableTabAudioMuting[] = "enable-tab-audio-muting"; |
| 633 | 625 |
| 634 // Enables fanciful thumbnail processing. Used with NTP for | 626 // Enables fanciful thumbnail processing. Used with NTP for |
| 635 // instant-extended-api, where thumbnails are generally smaller. | 627 // instant-extended-api, where thumbnails are generally smaller. |
| 636 const char kEnableThumbnailRetargeting[] = "enable-thumbnail-retargeting"; | 628 const char kEnableThumbnailRetargeting[] = "enable-thumbnail-retargeting"; |
| 637 | 629 |
| (...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1404 | 1396 |
| 1405 // ----------------------------------------------------------------------------- | 1397 // ----------------------------------------------------------------------------- |
| 1406 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1398 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1407 // | 1399 // |
| 1408 // You were going to just dump your switches here, weren't you? Instead, please | 1400 // You were going to just dump your switches here, weren't you? Instead, please |
| 1409 // put them in alphabetical order above, or in order inside the appropriate | 1401 // put them in alphabetical order above, or in order inside the appropriate |
| 1410 // ifdef at the bottom. The order should match the header. | 1402 // ifdef at the bottom. The order should match the header. |
| 1411 // ----------------------------------------------------------------------------- | 1403 // ----------------------------------------------------------------------------- |
| 1412 | 1404 |
| 1413 } // namespace switches | 1405 } // namespace switches |
| OLD | NEW |