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 #include "extensions/common/constants.h" | 5 #include "extensions/common/constants.h" |
6 | 6 |
7 namespace extensions { | 7 namespace extensions { |
8 | 8 |
9 const char kExtensionScheme[] = "chrome-extension"; | 9 const char kExtensionScheme[] = "chrome-extension"; |
10 const char kExtensionResourceScheme[] = "chrome-extension-resource"; | 10 const char kExtensionResourceScheme[] = "chrome-extension-resource"; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 const char kLocalAppSettingsDirectoryName[] = "Local App Settings"; | 48 const char kLocalAppSettingsDirectoryName[] = "Local App Settings"; |
49 const char kLocalExtensionSettingsDirectoryName[] = "Local Extension Settings"; | 49 const char kLocalExtensionSettingsDirectoryName[] = "Local Extension Settings"; |
50 const char kSyncAppSettingsDirectoryName[] = "Sync App Settings"; | 50 const char kSyncAppSettingsDirectoryName[] = "Sync App Settings"; |
51 const char kSyncExtensionSettingsDirectoryName[] = "Sync Extension Settings"; | 51 const char kSyncExtensionSettingsDirectoryName[] = "Sync Extension Settings"; |
52 const char kManagedSettingsDirectoryName[] = "Managed Extension Settings"; | 52 const char kManagedSettingsDirectoryName[] = "Managed Extension Settings"; |
53 const char kStateStoreName[] = "Extension State"; | 53 const char kStateStoreName[] = "Extension State"; |
54 const char kRulesStoreName[] = "Extension Rules"; | 54 const char kRulesStoreName[] = "Extension Rules"; |
55 const char kWebStoreAppId[] = "ahfgeienlihckogmohjhadlkjgocpleb"; | 55 const char kWebStoreAppId[] = "ahfgeienlihckogmohjhadlkjgocpleb"; |
56 | 56 |
| 57 const uint8_t kWebstoreSignaturesPublicKey[] = { |
| 58 0x30, 0x82, 0x01, 0x22, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, |
| 59 0xf7, 0x0d, 0x01, 0x01, 0x01, 0x05, 0x00, 0x03, 0x82, 0x01, 0x0f, 0x00, |
| 60 0x30, 0x82, 0x01, 0x0a, 0x02, 0x82, 0x01, 0x01, 0x00, 0x8f, 0xfb, 0xbf, |
| 61 0x5c, 0x37, 0x63, 0x94, 0x3c, 0xb0, 0xee, 0x01, 0xc4, 0xb5, 0xa6, 0x9a, |
| 62 0xb1, 0x9f, 0x46, 0x74, 0x6f, 0x16, 0x38, 0xa0, 0x32, 0x27, 0x35, 0xdd, |
| 63 0xf0, 0x71, 0x6b, 0x0e, 0xdc, 0xf6, 0x25, 0xcb, 0xb2, 0xed, 0xea, 0xfb, |
| 64 0x32, 0xd5, 0xaf, 0x1e, 0x03, 0x43, 0x03, 0x46, 0xf0, 0xa7, 0x39, 0xdb, |
| 65 0x23, 0x96, 0x1d, 0x65, 0xe5, 0x78, 0x51, 0xf0, 0x84, 0xb0, 0x0e, 0x12, |
| 66 0xac, 0x0e, 0x5b, 0xdc, 0xc9, 0xd6, 0x4c, 0x7c, 0x00, 0xd5, 0xb8, 0x1b, |
| 67 0x88, 0x33, 0x3e, 0x2f, 0xda, 0xeb, 0xaa, 0xf7, 0x1a, 0x75, 0xc2, 0xae, |
| 68 0x3a, 0x54, 0xde, 0x37, 0x8f, 0x10, 0xd2, 0x28, 0xe6, 0x84, 0x79, 0x4d, |
| 69 0x15, 0xb4, 0xf3, 0xbd, 0x3f, 0x56, 0xd3, 0x3c, 0x3f, 0x18, 0xab, 0xfc, |
| 70 0x2e, 0x05, 0xc0, 0x1e, 0x08, 0x31, 0xb6, 0x61, 0xd0, 0xfd, 0x9f, 0x4f, |
| 71 0x3f, 0x64, 0x0d, 0x17, 0x93, 0xbc, 0xad, 0x41, 0xc7, 0x48, 0xbe, 0x00, |
| 72 0x27, 0xa8, 0x4d, 0x70, 0x42, 0x92, 0x05, 0x54, 0xa6, 0x6d, 0xb8, 0xde, |
| 73 0x56, 0x6e, 0x20, 0x49, 0x70, 0xee, 0x10, 0x3e, 0x6b, 0xd2, 0x7c, 0x31, |
| 74 0xbd, 0x1b, 0x6e, 0xa4, 0x3c, 0x46, 0x62, 0x9f, 0x08, 0x66, 0x93, 0xf9, |
| 75 0x2a, 0x51, 0x31, 0xa8, 0xdb, 0xb5, 0x9d, 0xb9, 0x0f, 0x73, 0xe8, 0xa0, |
| 76 0x09, 0x32, 0x01, 0xe9, 0x7b, 0x2a, 0x8a, 0x36, 0xa0, 0xcf, 0x17, 0xb0, |
| 77 0x50, 0x70, 0x9d, 0xa2, 0xf9, 0xa4, 0x6f, 0x62, 0x4d, 0xb6, 0xc9, 0x31, |
| 78 0xfc, 0xf3, 0x08, 0x12, 0xff, 0x93, 0xbd, 0x62, 0x31, 0xd8, 0x1c, 0xea, |
| 79 0x1a, 0x9e, 0xf5, 0x81, 0x28, 0x7f, 0x75, 0x5e, 0xd2, 0x27, 0x7a, 0xc2, |
| 80 0x96, 0xf5, 0x9d, 0xdb, 0x18, 0xfc, 0x76, 0xdc, 0x46, 0xf0, 0x57, 0xc0, |
| 81 0x58, 0x34, 0xc8, 0x22, 0x2d, 0x2a, 0x65, 0x75, 0xa7, 0xd9, 0x08, 0x62, |
| 82 0xcd, 0x02, 0x03, 0x01, 0x00, 0x01}; |
| 83 |
| 84 const int kWebstoreSignaturesPublicKeySize = |
| 85 arraysize(kWebstoreSignaturesPublicKey); |
| 86 |
57 const char kMimeTypeJpeg[] = "image/jpeg"; | 87 const char kMimeTypeJpeg[] = "image/jpeg"; |
58 const char kMimeTypePng[] = "image/png"; | 88 const char kMimeTypePng[] = "image/png"; |
59 | 89 |
60 } // namespace extensions | 90 } // namespace extensions |
61 | 91 |
62 namespace extension_misc { | 92 namespace extension_misc { |
63 | 93 |
64 const char kPdfExtensionId[] = "mhjfbmdgcfjbbpaeojofohoefgiehjai"; | 94 const char kPdfExtensionId[] = "mhjfbmdgcfjbbpaeojofohoefgiehjai"; |
65 const char kQuickOfficeComponentExtensionId[] = | 95 const char kQuickOfficeComponentExtensionId[] = |
66 "bpmcpldpdmajfigpchkicefoigmkfalc"; | 96 "bpmcpldpdmajfigpchkicefoigmkfalc"; |
67 const char kQuickOfficeInternalExtensionId[] = | 97 const char kQuickOfficeInternalExtensionId[] = |
68 "ehibbfinohgbchlgdbfpikodjaojhccn"; | 98 "ehibbfinohgbchlgdbfpikodjaojhccn"; |
69 const char kQuickOfficeExtensionId[] = "gbkeegbaiigmenfmjfclcdgdpimamgkj"; | 99 const char kQuickOfficeExtensionId[] = "gbkeegbaiigmenfmjfclcdgdpimamgkj"; |
70 const char kMimeHandlerPrivateTestExtensionId[] = | 100 const char kMimeHandlerPrivateTestExtensionId[] = |
71 "oickdpebdnfbgkcaoklfcdhjniefkcji"; | 101 "oickdpebdnfbgkcaoklfcdhjniefkcji"; |
72 | 102 |
73 const char kProdHangoutsExtensionId[] = "nckgahadagoaajjgafhacjanaoiihapd"; | 103 const char kProdHangoutsExtensionId[] = "nckgahadagoaajjgafhacjanaoiihapd"; |
74 const char* const kHangoutsExtensionIds[6] = { | 104 const char* const kHangoutsExtensionIds[6] = { |
75 kProdHangoutsExtensionId, | 105 kProdHangoutsExtensionId, |
76 "ljclpkphhpbpinifbeabbhlfddcpfdde", // Debug. | 106 "ljclpkphhpbpinifbeabbhlfddcpfdde", // Debug. |
77 "ppleadejekpmccmnpjdimmlfljlkdfej", // Alpha. | 107 "ppleadejekpmccmnpjdimmlfljlkdfej", // Alpha. |
78 "eggnbpckecmjlblplehfpjjdhhidfdoj", // Beta. | 108 "eggnbpckecmjlblplehfpjjdhhidfdoj", // Beta. |
79 "jfjjdfefebklmdbmenmlehlopoocnoeh", // Packaged App Debug. | 109 "jfjjdfefebklmdbmenmlehlopoocnoeh", // Packaged App Debug. |
80 "knipolnnllmklapflnccelgolnpehhpl" // Packaged App Prod. | 110 "knipolnnllmklapflnccelgolnpehhpl" // Packaged App Prod. |
81 // Keep in sync with _api_features.json and _manifest_features.json. | 111 // Keep in sync with _api_features.json and _manifest_features.json. |
82 }; | 112 }; |
83 | 113 |
84 } // namespace extension_misc | 114 } // namespace extension_misc |
OLD | NEW |