| 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 | 108 |
| 109 // The extension id of the Web Store component application. | 109 // The extension id of the Web Store component application. |
| 110 extern const char kWebStoreAppId[]; | 110 extern const char kWebStoreAppId[]; |
| 111 | 111 |
| 112 // The extension id of the Cloud Print component application. | 112 // The extension id of the Cloud Print component application. |
| 113 extern const char kCloudPrintAppId[]; | 113 extern const char kCloudPrintAppId[]; |
| 114 | 114 |
| 115 // The extension id of the Chrome component application. | 115 // The extension id of the Chrome component application. |
| 116 extern const char kChromeAppId[]; | 116 extern const char kChromeAppId[]; |
| 117 | 117 |
| 118 // The extension ids of the various versions of the Talk extension. | |
| 119 extern const char kTalkExtensionId[]; | |
| 120 extern const char kTalkBetaExtensionId[]; | |
| 121 extern const char kTalkAlphaExtensionId[]; | |
| 122 extern const char kTalkDebugExtensionId[]; | |
| 123 | |
| 124 // Note: this structure is an ASN.1 which encodes the algorithm used | 118 // Note: this structure is an ASN.1 which encodes the algorithm used |
| 125 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). | 119 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). |
| 126 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } | 120 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } |
| 127 const uint8 kSignatureAlgorithm[15] = { | 121 const uint8 kSignatureAlgorithm[15] = { |
| 128 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, | 122 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, |
| 129 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 | 123 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 |
| 130 }; | 124 }; |
| 131 | 125 |
| 132 // Don't remove items or change the order of this enum. It's used in | 126 // Don't remove items or change the order of this enum. It's used in |
| 133 // histograms and preferences. | 127 // histograms and preferences. |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 extern const int kExtensionActionIconSizes[]; | 270 extern const int kExtensionActionIconSizes[]; |
| 277 extern const size_t kNumExtensionActionIconSizes; | 271 extern const size_t kNumExtensionActionIconSizes; |
| 278 | 272 |
| 279 // List of sizes for extension icons that can be defined in the manifest. | 273 // List of sizes for extension icons that can be defined in the manifest. |
| 280 extern const int kScriptBadgeIconSizes[]; | 274 extern const int kScriptBadgeIconSizes[]; |
| 281 extern const size_t kNumScriptBadgeIconSizes; | 275 extern const size_t kNumScriptBadgeIconSizes; |
| 282 | 276 |
| 283 } // extension_misc | 277 } // extension_misc |
| 284 | 278 |
| 285 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 279 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| OLD | NEW |