OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Disables syncing of extensions. | 336 // Disables syncing of extensions. |
337 const char kDisableSyncExtensions[] = "disable-sync-extensions"; | 337 const char kDisableSyncExtensions[] = "disable-sync-extensions"; |
338 | 338 |
339 // Disables syncing browser passwords. | 339 // Disables syncing browser passwords. |
340 const char kDisableSyncPasswords[] = "disable-sync-passwords"; | 340 const char kDisableSyncPasswords[] = "disable-sync-passwords"; |
341 | 341 |
342 // Disables syncing of preferences. | 342 // Disables syncing of preferences. |
343 const char kDisableSyncPreferences[] = "disable-sync-preferences"; | 343 const char kDisableSyncPreferences[] = "disable-sync-preferences"; |
344 | 344 |
| 345 // Disable syncing custom search engines. |
| 346 const char kDisableSyncSearchEngines[] = "disable-sync-search-engines"; |
| 347 |
345 // Disables syncing of themes. | 348 // Disables syncing of themes. |
346 const char kDisableSyncThemes[] = "disable-sync-themes"; | 349 const char kDisableSyncThemes[] = "disable-sync-themes"; |
347 | 350 |
348 // Disables syncing browser typed urls. | 351 // Disables syncing browser typed urls. |
349 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; | 352 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; |
350 | 353 |
351 // TabCloseableStateWatcher disallows closing of tabs and browsers under | 354 // TabCloseableStateWatcher disallows closing of tabs and browsers under |
352 // certain situations on ChromeOS. Some tests expect tabs or browsers to close, | 355 // certain situations on ChromeOS. Some tests expect tabs or browsers to close, |
353 // so we need a switch to disable the watcher. | 356 // so we need a switch to disable the watcher. |
354 const char kDisableTabCloseableStateWatcher[] = | 357 const char kDisableTabCloseableStateWatcher[] = |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 | 541 |
539 // On platforms that support it, enables smooth scroll animation. | 542 // On platforms that support it, enables smooth scroll animation. |
540 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; | 543 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; |
541 | 544 |
542 // Enables syncing extension settings. | 545 // Enables syncing extension settings. |
543 const char kEnableSyncExtensionSettings[] = "enable-sync-extension-settings"; | 546 const char kEnableSyncExtensionSettings[] = "enable-sync-extension-settings"; |
544 | 547 |
545 // Enables OAuth sign-in for sync. | 548 // Enables OAuth sign-in for sync. |
546 const char kEnableSyncOAuth[] = "enable-sync-oauth"; | 549 const char kEnableSyncOAuth[] = "enable-sync-oauth"; |
547 | 550 |
548 // Enables syncing custom search engines. | |
549 const char kEnableSyncSearchEngines[] = "enable-sync-search-engines"; | |
550 | |
551 // Enables syncing browser sessions. | 551 // Enables syncing browser sessions. |
552 const char kEnableSyncTabs[] = "enable-sync-tabs"; | 552 const char kEnableSyncTabs[] = "enable-sync-tabs"; |
553 | 553 |
554 // Enables syncing browser sessions for other synced clients. | 554 // Enables syncing browser sessions for other synced clients. |
555 const char kEnableSyncTabsForOtherClients[] = | 555 const char kEnableSyncTabsForOtherClients[] = |
556 "enable-sync-tabs-for-other-clients"; | 556 "enable-sync-tabs-for-other-clients"; |
557 | 557 |
558 // Enable syncing app notifications. | 558 // Enable syncing app notifications. |
559 const char kEnableSyncAppNotifications[] = "enable-sync-app-notifications"; | 559 const char kEnableSyncAppNotifications[] = "enable-sync-app-notifications"; |
560 | 560 |
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1295 | 1295 |
1296 // ----------------------------------------------------------------------------- | 1296 // ----------------------------------------------------------------------------- |
1297 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1297 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1298 // | 1298 // |
1299 // You were going to just dump your switches here, weren't you? Instead, please | 1299 // You were going to just dump your switches here, weren't you? Instead, please |
1300 // put them in alphabetical order above, or in order inside the appropriate | 1300 // put them in alphabetical order above, or in order inside the appropriate |
1301 // ifdef at the bottom. The order should match the header. | 1301 // ifdef at the bottom. The order should match the header. |
1302 // ----------------------------------------------------------------------------- | 1302 // ----------------------------------------------------------------------------- |
1303 | 1303 |
1304 } // namespace switches | 1304 } // namespace switches |
OLD | NEW |