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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 | 376 |
377 // The extension id of the Enterprise Web Store component application. | 377 // The extension id of the Enterprise Web Store component application. |
378 extern const char kEnterpriseWebStoreAppId[]; | 378 extern const char kEnterpriseWebStoreAppId[]; |
379 | 379 |
380 // The extension id of the HTerm app for ChromeOS. | 380 // The extension id of the HTerm app for ChromeOS. |
381 extern const char kHTermAppId[]; | 381 extern const char kHTermAppId[]; |
382 | 382 |
383 // The extension id of the HTerm dev app for ChromeOS. | 383 // The extension id of the HTerm dev app for ChromeOS. |
384 extern const char kHTermDevAppId[]; | 384 extern const char kHTermDevAppId[]; |
385 | 385 |
| 386 // The extension id of the Crosh component app for ChromeOS. |
| 387 extern const char kCroshBuiltinAppId[]; |
| 388 |
386 // The extension id of the Web Store component application. | 389 // The extension id of the Web Store component application. |
387 extern const char kWebStoreAppId[]; | 390 extern const char kWebStoreAppId[]; |
388 | 391 |
389 // The extension id of the Cloud Print component application. | 392 // The extension id of the Cloud Print component application. |
390 extern const char kCloudPrintAppId[]; | 393 extern const char kCloudPrintAppId[]; |
391 | 394 |
392 // Note: this structure is an ASN.1 which encodes the algorithm used | 395 // Note: this structure is an ASN.1 which encodes the algorithm used |
393 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). | 396 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). |
394 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } | 397 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } |
395 const uint8 kSignatureAlgorithm[15] = { | 398 const uint8 kSignatureAlgorithm[15] = { |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 | 513 |
511 enum UnloadedExtensionReason { | 514 enum UnloadedExtensionReason { |
512 UNLOAD_REASON_DISABLE, // Extension is being disabled. | 515 UNLOAD_REASON_DISABLE, // Extension is being disabled. |
513 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. | 516 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. |
514 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. | 517 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. |
515 UNLOAD_REASON_TERMINATE, // Extension has terminated. | 518 UNLOAD_REASON_TERMINATE, // Extension has terminated. |
516 }; | 519 }; |
517 } // extension_misc | 520 } // extension_misc |
518 | 521 |
519 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 522 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
OLD | NEW |