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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 153 |
154 // The extension id used for testing streamsPrivate | 154 // The extension id used for testing streamsPrivate |
155 extern const char kStreamsPrivateTestExtensionId[]; | 155 extern const char kStreamsPrivateTestExtensionId[]; |
156 | 156 |
157 // The extension id of the Web Store component application. | 157 // The extension id of the Web Store component application. |
158 extern const char kWebStoreAppId[]; | 158 extern const char kWebStoreAppId[]; |
159 | 159 |
160 // The extension id of the Youtube application. | 160 // The extension id of the Youtube application. |
161 extern const char kYoutubeAppId[]; | 161 extern const char kYoutubeAppId[]; |
162 | 162 |
| 163 // The extension id of the in-app payments support application. |
| 164 extern const char kInAppPaymentsSupportAppId[]; |
| 165 |
163 // Note: this structure is an ASN.1 which encodes the algorithm used | 166 // Note: this structure is an ASN.1 which encodes the algorithm used |
164 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). | 167 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). |
165 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } | 168 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } |
166 const uint8 kSignatureAlgorithm[15] = { | 169 const uint8 kSignatureAlgorithm[15] = { |
167 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, | 170 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, |
168 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 | 171 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 |
169 }; | 172 }; |
170 | 173 |
171 // Don't remove items or change the order of this enum. It's used in | 174 // Don't remove items or change the order of this enum. It's used in |
172 // histograms and preferences. | 175 // histograms and preferences. |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 // List of sizes for extension icons that can be defined in the manifest. | 325 // List of sizes for extension icons that can be defined in the manifest. |
323 extern const int kExtensionActionIconSizes[]; | 326 extern const int kExtensionActionIconSizes[]; |
324 extern const size_t kNumExtensionActionIconSizes; | 327 extern const size_t kNumExtensionActionIconSizes; |
325 | 328 |
326 // List of sizes for extension icons that can be defined in the manifest. | 329 // List of sizes for extension icons that can be defined in the manifest. |
327 extern const int kScriptBadgeIconSizes[]; | 330 extern const int kScriptBadgeIconSizes[]; |
328 extern const size_t kNumScriptBadgeIconSizes; | 331 extern const size_t kNumScriptBadgeIconSizes; |
329 } // namespace extension_misc | 332 } // namespace extension_misc |
330 | 333 |
331 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 334 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
OLD | NEW |