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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 | 351 |
356 // Disables syncing browser data to a Google Account. | 352 // Disables syncing browser data to a Google Account. |
357 const char kDisableSync[] = "disable-sync"; | 353 const char kDisableSync[] = "disable-sync"; |
358 | 354 |
359 // Disables syncing of app settings. | 355 // Disables syncing of app settings. |
360 const char kDisableSyncAppSettings[] = "disable-sync-app-settings"; | 356 const char kDisableSyncAppSettings[] = "disable-sync-app-settings"; |
361 | 357 |
362 // Disables syncing of apps. | 358 // Disables syncing of apps. |
363 const char kDisableSyncApps[] = "disable-sync-apps"; | 359 const char kDisableSyncApps[] = "disable-sync-apps"; |
364 | 360 |
365 // Disable syncing app notifications. | |
366 const char kDisableSyncAppNotifications[] = "disable-sync-app-notifications"; | |
367 | |
368 // Disables syncing of autofill. | 361 // Disables syncing of autofill. |
369 const char kDisableSyncAutofill[] = "disable-sync-autofill"; | 362 const char kDisableSyncAutofill[] = "disable-sync-autofill"; |
370 | 363 |
371 // Disables syncing of autofill Profile. | 364 // Disables syncing of autofill Profile. |
372 const char kDisableSyncAutofillProfile[] = "disable-sync-autofill-profile"; | 365 const char kDisableSyncAutofillProfile[] = "disable-sync-autofill-profile"; |
373 | 366 |
374 // Disables syncing of bookmarks. | 367 // Disables syncing of bookmarks. |
375 const char kDisableSyncBookmarks[] = "disable-sync-bookmarks"; | 368 const char kDisableSyncBookmarks[] = "disable-sync-bookmarks"; |
376 | 369 |
377 // Disables syncing of dictionary. | 370 // Disables syncing of dictionary. |
(...skipping 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1663 | 1656 |
1664 // ----------------------------------------------------------------------------- | 1657 // ----------------------------------------------------------------------------- |
1665 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1658 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1666 // | 1659 // |
1667 // You were going to just dump your switches here, weren't you? Instead, please | 1660 // You were going to just dump your switches here, weren't you? Instead, please |
1668 // put them in alphabetical order above, or in order inside the appropriate | 1661 // put them in alphabetical order above, or in order inside the appropriate |
1669 // ifdef at the bottom. The order should match the header. | 1662 // ifdef at the bottom. The order should match the header. |
1670 // ----------------------------------------------------------------------------- | 1663 // ----------------------------------------------------------------------------- |
1671 | 1664 |
1672 } // namespace switches | 1665 } // namespace switches |
OLD | NEW |