| 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 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 | 104 |
| 105 // The extension id of the Crosh component app for ChromeOS. | 105 // The extension id of the Crosh component app for ChromeOS. |
| 106 extern const char kCroshBuiltinAppId[]; | 106 extern const char kCroshBuiltinAppId[]; |
| 107 | 107 |
| 108 // The extension id of the Web Store component application. | 108 // The extension id of the Web Store component application. |
| 109 extern const char kWebStoreAppId[]; | 109 extern const char kWebStoreAppId[]; |
| 110 | 110 |
| 111 // The extension id of the Cloud Print component application. | 111 // The extension id of the Cloud Print component application. |
| 112 extern const char kCloudPrintAppId[]; | 112 extern const char kCloudPrintAppId[]; |
| 113 | 113 |
| 114 // The extension id of the File Manager component application. |
| 115 extern const char kFileManagerAppId[]; |
| 116 |
| 114 // Note: this structure is an ASN.1 which encodes the algorithm used | 117 // Note: this structure is an ASN.1 which encodes the algorithm used |
| 115 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). | 118 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). |
| 116 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } | 119 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } |
| 117 const uint8 kSignatureAlgorithm[15] = { | 120 const uint8 kSignatureAlgorithm[15] = { |
| 118 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, | 121 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, |
| 119 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 | 122 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 |
| 120 }; | 123 }; |
| 121 | 124 |
| 122 // Don't remove items or change the order of this enum. It's used in | 125 // Don't remove items or change the order of this enum. It's used in |
| 123 // histograms and preferences. | 126 // histograms and preferences. |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. | 239 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. |
| 237 UNLOAD_REASON_TERMINATE, // Extension has terminated. | 240 UNLOAD_REASON_TERMINATE, // Extension has terminated. |
| 238 }; | 241 }; |
| 239 | 242 |
| 240 // Error indicating that the app notifications API is not accessible by split | 243 // Error indicating that the app notifications API is not accessible by split |
| 241 // mode extensions in incognito windows. | 244 // mode extensions in incognito windows. |
| 242 extern const char kAppNotificationsIncognitoError[]; | 245 extern const char kAppNotificationsIncognitoError[]; |
| 243 } // extension_misc | 246 } // extension_misc |
| 244 | 247 |
| 245 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 248 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| OLD | NEW |