Chromium Code Reviews| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 84 // Allows the webstorePrivate APIs to return browser (aka sync) login tokens to | 84 // Allows the webstorePrivate APIs to return browser (aka sync) login tokens to |
| 85 // be used for auto-login in the Web Store (normally they do not). | 85 // be used for auto-login in the Web Store (normally they do not). |
| 86 const char kAppsGalleryReturnTokens[] = "apps-gallery-return-tokens"; | 86 const char kAppsGalleryReturnTokens[] = "apps-gallery-return-tokens"; |
| 87 | 87 |
| 88 // The URL to use for the gallery link in the app launcher. | 88 // The URL to use for the gallery link in the app launcher. |
| 89 const char kAppsGalleryURL[] = "apps-gallery-url"; | 89 const char kAppsGalleryURL[] = "apps-gallery-url"; |
| 90 | 90 |
| 91 // The update url used by gallery/webstore extensions. | 91 // The update url used by gallery/webstore extensions. |
| 92 const char kAppsGalleryUpdateURL[] = "apps-gallery-update-url"; | 92 const char kAppsGalleryUpdateURL[] = "apps-gallery-update-url"; |
| 93 | 93 |
| 94 // When passed on the command-line, this causes chrome to attempt to download | |
|
Mihai Parparita -not on Chrome
2012/09/07 22:01:36
Nit: capitalize Chrome.
asargent_no_longer_on_chrome
2012/09/14 23:24:35
Done.
| |
| 95 // and install an app from the webstore with the given id. | |
|
Mihai Parparita -not on Chrome
2012/09/07 22:01:36
Mention that there's an install prompt too (i.e. t
asargent_no_longer_on_chrome
2012/09/14 23:24:35
Done.
| |
| 96 const char kAppsInstallFromID[] = "apps-install-from-id"; | |
|
Mihai Parparita -not on Chrome
2012/09/07 22:01:36
If it's not too late, I think "webstore" should be
asargent_no_longer_on_chrome
2012/09/14 23:24:35
Done.
| |
| 97 | |
| 98 // TODO(asargent) - remove this flag and change uses of it to instead use | |
| 99 // kAppsInstallFromID. | |
| 100 // | |
| 94 // Specifies the URL of an application manifest to retrieve. The user will be | 101 // Specifies the URL of an application manifest to retrieve. The user will be |
| 95 // prompted for consent and the application retrieved/installed if consented. | 102 // prompted for consent and the application retrieved/installed if consented. |
| 96 const char kAppsInstallFromManifestURL[] = "apps-install-from-manifest-url"; | 103 const char kAppsInstallFromManifestURL[] = "apps-install-from-manifest-url"; |
| 97 | 104 |
| 98 // Whether to always use the new app install bubble when installing an app. | 105 // Whether to always use the new app install bubble when installing an app. |
| 99 const char kAppsNewInstallBubble[] = "apps-new-install-bubble"; | 106 const char kAppsNewInstallBubble[] = "apps-new-install-bubble"; |
| 100 | 107 |
| 101 // Disable throbber for extension apps. | 108 // Disable throbber for extension apps. |
| 102 const char kAppsNoThrob[] = "apps-no-throb"; | 109 const char kAppsNoThrob[] = "apps-no-throb"; |
| 103 | 110 |
| (...skipping 1467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1571 | 1578 |
| 1572 // ----------------------------------------------------------------------------- | 1579 // ----------------------------------------------------------------------------- |
| 1573 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1580 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1574 // | 1581 // |
| 1575 // You were going to just dump your switches here, weren't you? Instead, please | 1582 // You were going to just dump your switches here, weren't you? Instead, please |
| 1576 // put them in alphabetical order above, or in order inside the appropriate | 1583 // put them in alphabetical order above, or in order inside the appropriate |
| 1577 // ifdef at the bottom. The order should match the header. | 1584 // ifdef at the bottom. The order should match the header. |
| 1578 // ----------------------------------------------------------------------------- | 1585 // ----------------------------------------------------------------------------- |
| 1579 | 1586 |
| 1580 } // namespace switches | 1587 } // namespace switches |
| OLD | NEW |