| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 // mode. | 65 // mode. |
| 66 const char kApp[] = "app"; | 66 const char kApp[] = "app"; |
| 67 | 67 |
| 68 // Flag to enable apps_devtool app. | 68 // Flag to enable apps_devtool app. |
| 69 const char kAppsDevtool[] = "apps-devtool"; | 69 const char kAppsDevtool[] = "apps-devtool"; |
| 70 | 70 |
| 71 // Specifies the initial size for application windows launched with --app. | 71 // Specifies the initial size for application windows launched with --app. |
| 72 // --app-window-size=w,h | 72 // --app-window-size=w,h |
| 73 const char kAppWindowSize[] = "app-window-size"; | 73 const char kAppWindowSize[] = "app-window-size"; |
| 74 | 74 |
| 75 // A URL for the server which assigns channel ids for server pushed app | |
| 76 // notifications. | |
| 77 const char kAppNotifyChannelServerURL[] = "app-notify-channel-server-url"; | |
| 78 | |
| 79 // Overrides the apps checkout URL, which is used to determine when to expose | 75 // Overrides the apps checkout URL, which is used to determine when to expose |
| 80 // some private APIs. | 76 // some private APIs. |
| 81 const char kAppsCheckoutURL[] = "apps-checkout-url"; | 77 const char kAppsCheckoutURL[] = "apps-checkout-url"; |
| 82 | 78 |
| 83 // The URL that the webstore APIs download extensions from. | 79 // The URL that the webstore APIs download extensions from. |
| 84 // Note: the URL must contain one '%s' for the extension ID. | 80 // Note: the URL must contain one '%s' for the extension ID. |
| 85 const char kAppsGalleryDownloadURL[] = "apps-gallery-download-url"; | 81 const char kAppsGalleryDownloadURL[] = "apps-gallery-download-url"; |
| 86 | 82 |
| 87 // A setting to cause extension/app installs from the webstore skip the normal | 83 // A setting to cause extension/app installs from the webstore skip the normal |
| 88 // confirmation dialog. A value of 'accept' means to always act as if the dialog | 84 // confirmation dialog. A value of 'accept' means to always act as if the dialog |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 | 354 |
| 359 // Disables syncing browser data to a Google Account. | 355 // Disables syncing browser data to a Google Account. |
| 360 const char kDisableSync[] = "disable-sync"; | 356 const char kDisableSync[] = "disable-sync"; |
| 361 | 357 |
| 362 // Disables syncing of app settings. | 358 // Disables syncing of app settings. |
| 363 const char kDisableSyncAppSettings[] = "disable-sync-app-settings"; | 359 const char kDisableSyncAppSettings[] = "disable-sync-app-settings"; |
| 364 | 360 |
| 365 // Disables syncing of apps. | 361 // Disables syncing of apps. |
| 366 const char kDisableSyncApps[] = "disable-sync-apps"; | 362 const char kDisableSyncApps[] = "disable-sync-apps"; |
| 367 | 363 |
| 368 // Disable syncing app notifications. | |
| 369 const char kDisableSyncAppNotifications[] = "disable-sync-app-notifications"; | |
| 370 | |
| 371 // Disables syncing of autofill. | 364 // Disables syncing of autofill. |
| 372 const char kDisableSyncAutofill[] = "disable-sync-autofill"; | 365 const char kDisableSyncAutofill[] = "disable-sync-autofill"; |
| 373 | 366 |
| 374 // Disables syncing of autofill Profile. | 367 // Disables syncing of autofill Profile. |
| 375 const char kDisableSyncAutofillProfile[] = "disable-sync-autofill-profile"; | 368 const char kDisableSyncAutofillProfile[] = "disable-sync-autofill-profile"; |
| 376 | 369 |
| 377 // Disables syncing of bookmarks. | 370 // Disables syncing of bookmarks. |
| 378 const char kDisableSyncBookmarks[] = "disable-sync-bookmarks"; | 371 const char kDisableSyncBookmarks[] = "disable-sync-bookmarks"; |
| 379 | 372 |
| 380 // Disables syncing of dictionary. | 373 // Disables syncing of dictionary. |
| (...skipping 1298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1679 | 1672 |
| 1680 // ----------------------------------------------------------------------------- | 1673 // ----------------------------------------------------------------------------- |
| 1681 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1674 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1682 // | 1675 // |
| 1683 // You were going to just dump your switches here, weren't you? Instead, please | 1676 // You were going to just dump your switches here, weren't you? Instead, please |
| 1684 // put them in alphabetical order above, or in order inside the appropriate | 1677 // put them in alphabetical order above, or in order inside the appropriate |
| 1685 // ifdef at the bottom. The order should match the header. | 1678 // ifdef at the bottom. The order should match the header. |
| 1686 // ----------------------------------------------------------------------------- | 1679 // ----------------------------------------------------------------------------- |
| 1687 | 1680 |
| 1688 } // namespace switches | 1681 } // namespace switches |
| OLD | NEW |