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