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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
55 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; | 55 const char kAlwaysAuthorizePlugins[] = "always-authorize-plugins"; |
56 | 56 |
57 // Specifies that the extension-app with the specified id should be launched | 57 // Specifies that the extension-app with the specified id should be launched |
58 // according to its configuration. | 58 // according to its configuration. |
59 const char kAppId[] = "app-id"; | 59 const char kAppId[] = "app-id"; |
60 | 60 |
61 // Specifies that the associated value should be launched in "application" | 61 // Specifies that the associated value should be launched in "application" |
62 // mode. | 62 // mode. |
63 const char kApp[] = "app"; | 63 const char kApp[] = "app"; |
64 | 64 |
65 // This switch is passed in addition to kApp when we do want to restore | |
66 // session as well. | |
67 const char kAppRestoreSession[] = "app-restore-session"; | |
sky
2012/05/07 22:58:26
I suspect we would always want this set for chrome
Nikita (slow)
2012/05/08 08:47:59
Done.
| |
68 | |
65 // A URL for the server which assigns channel ids for server pushed app | 69 // A URL for the server which assigns channel ids for server pushed app |
66 // notifications. | 70 // notifications. |
67 const char kAppNotifyChannelServerURL[] = "app-notify-channel-server-url"; | 71 const char kAppNotifyChannelServerURL[] = "app-notify-channel-server-url"; |
68 | 72 |
69 // Overrides the apps checkout URL, which is used to determine when to expose | 73 // Overrides the apps checkout URL, which is used to determine when to expose |
70 // some private APIs. | 74 // some private APIs. |
71 const char kAppsCheckoutURL[] = "apps-checkout-url"; | 75 const char kAppsCheckoutURL[] = "apps-checkout-url"; |
72 | 76 |
73 // The URL that the webstore APIs download extensions from. | 77 // The URL that the webstore APIs download extensions from. |
74 // Note: the URL must contain one '%s' for the extension ID. | 78 // Note: the URL must contain one '%s' for the extension ID. |
(...skipping 1347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1422 | 1426 |
1423 // ----------------------------------------------------------------------------- | 1427 // ----------------------------------------------------------------------------- |
1424 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1428 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1425 // | 1429 // |
1426 // You were going to just dump your switches here, weren't you? Instead, please | 1430 // You were going to just dump your switches here, weren't you? Instead, please |
1427 // put them in alphabetical order above, or in order inside the appropriate | 1431 // put them in alphabetical order above, or in order inside the appropriate |
1428 // ifdef at the bottom. The order should match the header. | 1432 // ifdef at the bottom. The order should match the header. |
1429 // ----------------------------------------------------------------------------- | 1433 // ----------------------------------------------------------------------------- |
1430 | 1434 |
1431 } // namespace switches | 1435 } // namespace switches |
OLD | NEW |