| 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 |
| 170 // 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 |
| 171 // 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). |
| 172 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } | 175 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } |
| 173 const uint8 kSignatureAlgorithm[15] = { | 176 const uint8 kSignatureAlgorithm[15] = { |
| 174 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, | 177 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, |
| 175 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 | 178 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 |
| 176 }; | 179 }; |
| 177 | 180 |
| 178 // Don't remove items or change the order of this enum. It's used in | 181 // Don't remove items or change the order of this enum. It's used in |
| 179 // histograms and preferences. | 182 // histograms and preferences. |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 // List of sizes for extension icons that can be defined in the manifest. | 332 // List of sizes for extension icons that can be defined in the manifest. |
| 330 extern const int kExtensionActionIconSizes[]; | 333 extern const int kExtensionActionIconSizes[]; |
| 331 extern const size_t kNumExtensionActionIconSizes; | 334 extern const size_t kNumExtensionActionIconSizes; |
| 332 | 335 |
| 333 // List of sizes for extension icons that can be defined in the manifest. | 336 // List of sizes for extension icons that can be defined in the manifest. |
| 334 extern const int kScriptBadgeIconSizes[]; | 337 extern const int kScriptBadgeIconSizes[]; |
| 335 extern const size_t kNumScriptBadgeIconSizes; | 338 extern const size_t kNumScriptBadgeIconSizes; |
| 336 } // namespace extension_misc | 339 } // namespace extension_misc |
| 337 | 340 |
| 338 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 341 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| OLD | NEW |