| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 | 106 |
| 107 // The extension id of the Crosh component app for ChromeOS. | 107 // The extension id of the Crosh component app for ChromeOS. |
| 108 extern const char kCroshBuiltinAppId[]; | 108 extern const char kCroshBuiltinAppId[]; |
| 109 | 109 |
| 110 // The extension id of the Web Store component application. | 110 // The extension id of the Web Store component application. |
| 111 extern const char kWebStoreAppId[]; | 111 extern const char kWebStoreAppId[]; |
| 112 | 112 |
| 113 // The extension id of the Cloud Print component application. | 113 // The extension id of the Cloud Print component application. |
| 114 extern const char kCloudPrintAppId[]; | 114 extern const char kCloudPrintAppId[]; |
| 115 | 115 |
| 116 // The extension id of the Chrome component application. |
| 117 extern const char kChromeAppId[]; |
| 118 |
| 116 // Note: this structure is an ASN.1 which encodes the algorithm used | 119 // Note: this structure is an ASN.1 which encodes the algorithm used |
| 117 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). | 120 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). |
| 118 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } | 121 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } |
| 119 const uint8 kSignatureAlgorithm[15] = { | 122 const uint8 kSignatureAlgorithm[15] = { |
| 120 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, | 123 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, |
| 121 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 | 124 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 |
| 122 }; | 125 }; |
| 123 | 126 |
| 124 // Don't remove items or change the order of this enum. It's used in | 127 // Don't remove items or change the order of this enum. It's used in |
| 125 // histograms and preferences. | 128 // histograms and preferences. |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 extern const char kAppStateRunning[]; | 252 extern const char kAppStateRunning[]; |
| 250 extern const char kAppStateCannotRun[]; | 253 extern const char kAppStateCannotRun[]; |
| 251 extern const char kAppStateReadyToRun[]; | 254 extern const char kAppStateReadyToRun[]; |
| 252 | 255 |
| 253 // Error indicating that the app notifications API is not accessible by split | 256 // Error indicating that the app notifications API is not accessible by split |
| 254 // mode extensions in incognito windows. | 257 // mode extensions in incognito windows. |
| 255 extern const char kAppNotificationsIncognitoError[]; | 258 extern const char kAppNotificationsIncognitoError[]; |
| 256 } // extension_misc | 259 } // extension_misc |
| 257 | 260 |
| 258 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 261 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| OLD | NEW |