OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 | 286 |
287 // Disable syncing of autofill. | 287 // Disable syncing of autofill. |
288 const char kDisableSyncAutofill[] = "disable-sync-autofill"; | 288 const char kDisableSyncAutofill[] = "disable-sync-autofill"; |
289 | 289 |
290 // Disable syncing of bookmarks. | 290 // Disable syncing of bookmarks. |
291 const char kDisableSyncBookmarks[] = "disable-sync-bookmarks"; | 291 const char kDisableSyncBookmarks[] = "disable-sync-bookmarks"; |
292 | 292 |
293 // Disable syncing of extensions. | 293 // Disable syncing of extensions. |
294 const char kDisableSyncExtensions[] = "disable-sync-extensions"; | 294 const char kDisableSyncExtensions[] = "disable-sync-extensions"; |
295 | 295 |
| 296 // Disable syncing browser passwords. |
| 297 const char kDisableSyncPasswords[] = "disable-sync-passwords"; |
| 298 |
296 // Disable syncing of preferences. | 299 // Disable syncing of preferences. |
297 const char kDisableSyncPreferences[] = "disable-sync-preferences"; | 300 const char kDisableSyncPreferences[] = "disable-sync-preferences"; |
298 | 301 |
299 // Disable syncing of themes. | 302 // Disable syncing of themes. |
300 const char kDisableSyncThemes[] = "disable-sync-themes"; | 303 const char kDisableSyncThemes[] = "disable-sync-themes"; |
301 | 304 |
302 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain | 305 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain |
303 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we | 306 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we |
304 // need a switch to disable the watcher. | 307 // need a switch to disable the watcher. |
305 const char kDisableTabCloseableStateWatcher[] = | 308 const char kDisableTabCloseableStateWatcher[] = |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 | 485 |
483 // Enables StatsTable, logging statistics to a global named shared memory table. | 486 // Enables StatsTable, logging statistics to a global named shared memory table. |
484 const char kEnableStatsTable[] = "enable-stats-table"; | 487 const char kEnableStatsTable[] = "enable-stats-table"; |
485 | 488 |
486 // Enable syncing browser data to a Google Account. | 489 // Enable syncing browser data to a Google Account. |
487 const char kEnableSync[] = "enable-sync"; | 490 const char kEnableSync[] = "enable-sync"; |
488 | 491 |
489 // Enable syncing browser autofill. | 492 // Enable syncing browser autofill. |
490 const char kEnableSyncAutofill[] = "enable-sync-autofill"; | 493 const char kEnableSyncAutofill[] = "enable-sync-autofill"; |
491 | 494 |
492 // Enable syncing browser passwords. | |
493 const char kEnableSyncPasswords[] = "enable-sync-passwords"; | |
494 | |
495 // Enable syncing browser sessions. | 495 // Enable syncing browser sessions. |
496 const char kEnableSyncSessions[] = "enable-sync-sessions"; | 496 const char kEnableSyncSessions[] = "enable-sync-sessions"; |
497 | 497 |
498 // Enable syncing browser typed urls. | 498 // Enable syncing browser typed urls. |
499 const char kEnableSyncTypedUrls[] = "enable-sync-typed-urls"; | 499 const char kEnableSyncTypedUrls[] = "enable-sync-typed-urls"; |
500 | 500 |
501 // Enable tabbed options, ie: dom-ui version of options window. | 501 // Enable tabbed options, ie: dom-ui version of options window. |
502 const char kEnableTabbedOptions[] = "enable-tabbed-options"; | 502 const char kEnableTabbedOptions[] = "enable-tabbed-options"; |
503 | 503 |
504 // Enables TopSites. | 504 // Enables TopSites. |
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1270 | 1270 |
1271 // ----------------------------------------------------------------------------- | 1271 // ----------------------------------------------------------------------------- |
1272 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1272 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1273 // | 1273 // |
1274 // You were going to just dump your switches here, weren't you? Instead, | 1274 // You were going to just dump your switches here, weren't you? Instead, |
1275 // please put them in alphabetical order above, or in order inside the | 1275 // please put them in alphabetical order above, or in order inside the |
1276 // appropriate ifdef at the bottom. The order should match the header. | 1276 // appropriate ifdef at the bottom. The order should match the header. |
1277 // ----------------------------------------------------------------------------- | 1277 // ----------------------------------------------------------------------------- |
1278 | 1278 |
1279 } // namespace switches | 1279 } // namespace switches |
OLD | NEW |