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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 | 160 |
161 // The extension id used for testing streamsPrivate | 161 // The extension id used for testing streamsPrivate |
162 extern const char kStreamsPrivateTestExtensionId[]; | 162 extern const char kStreamsPrivateTestExtensionId[]; |
163 | 163 |
164 // The extension id of the Web Store component application. | 164 // The extension id of the Web Store component application. |
165 extern const char kWebStoreAppId[]; | 165 extern const char kWebStoreAppId[]; |
166 | 166 |
167 // The extension id of the Youtube application. | 167 // The extension id of the Youtube application. |
168 extern const char kYoutubeAppId[]; | 168 extern const char kYoutubeAppId[]; |
169 | 169 |
170 // The extension id of the Identity API UI application. | |
171 extern const char kIdentityApiUiAppId[]; | |
172 | |
173 // The extension id of the in-app payments support application. | 170 // The extension id of the in-app payments support application. |
174 extern const char kInAppPaymentsSupportAppId[]; | 171 extern const char kInAppPaymentsSupportAppId[]; |
175 | 172 |
176 // Note: this structure is an ASN.1 which encodes the algorithm used | 173 // Note: this structure is an ASN.1 which encodes the algorithm used |
177 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). | 174 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). |
178 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } | 175 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } |
179 const uint8 kSignatureAlgorithm[15] = { | 176 const uint8 kSignatureAlgorithm[15] = { |
180 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, | 177 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, |
181 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 | 178 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 |
182 }; | 179 }; |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 // List of sizes for extension icons that can be defined in the manifest. | 344 // List of sizes for extension icons that can be defined in the manifest. |
348 extern const int kExtensionActionIconSizes[]; | 345 extern const int kExtensionActionIconSizes[]; |
349 extern const size_t kNumExtensionActionIconSizes; | 346 extern const size_t kNumExtensionActionIconSizes; |
350 | 347 |
351 // List of sizes for extension icons that can be defined in the manifest. | 348 // List of sizes for extension icons that can be defined in the manifest. |
352 extern const int kScriptBadgeIconSizes[]; | 349 extern const int kScriptBadgeIconSizes[]; |
353 extern const size_t kNumScriptBadgeIconSizes; | 350 extern const size_t kNumScriptBadgeIconSizes; |
354 } // namespace extension_misc | 351 } // namespace extension_misc |
355 | 352 |
356 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 353 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
OLD | NEW |