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 "chrome/common/extensions/extension_constants.h" | 5 #include "chrome/common/extensions/extension_constants.h" |
6 #include "chrome/common/extensions/extension_manifest_constants.h" | 6 #include "chrome/common/extensions/extension_manifest_constants.h" |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 // extension_path. | 101 // extension_path. |
102 const char kDecodedMessageCatalogsFilename[] = "DECODED_MESSAGE_CATALOGS"; | 102 const char kDecodedMessageCatalogsFilename[] = "DECODED_MESSAGE_CATALOGS"; |
103 | 103 |
104 const char kGeneratedBackgroundPageFilename[] = | 104 const char kGeneratedBackgroundPageFilename[] = |
105 "_generated_background_page.html"; | 105 "_generated_background_page.html"; |
106 | 106 |
107 const char kModulesDir[] = "_modules"; | 107 const char kModulesDir[] = "_modules"; |
108 | 108 |
109 } // namespace extension_filenames | 109 } // namespace extension_filenames |
110 | 110 |
111 // These must match the values expected by the chrome.management extension API. | |
112 namespace extension_info_keys { | |
113 const char kDescriptionKey[] = "description"; | |
114 const char kEnabledKey[] = "enabled"; | |
115 const char kHomepageUrlKey[] = "homepageUrl"; | |
116 const char kIdKey[] = "id"; | |
117 const char kNameKey[] = "name"; | |
118 const char kKioskEnabledKey[] = "kioskEnabled"; | |
119 const char kOfflineEnabledKey[] = "offlineEnabled"; | |
120 const char kOptionsUrlKey[] = "optionsUrl"; | |
121 const char kDetailsUrlKey[] = "detailsUrl"; | |
122 const char kVersionKey[] = "version"; | |
123 const char kPackagedAppKey[] = "packagedApp"; | |
124 | |
125 } // namespace extension_filenames | |
126 | |
127 namespace extension_misc { | 111 namespace extension_misc { |
128 | 112 |
129 const char kBookmarkManagerId[] = "eemcgdkfndhakfknompkggombfjjjeno"; | 113 const char kBookmarkManagerId[] = "eemcgdkfndhakfknompkggombfjjjeno"; |
130 const char kChromeAppId[] = "mgndgikekgjfcpckkfioiadnlibdjbkf"; | 114 const char kChromeAppId[] = "mgndgikekgjfcpckkfioiadnlibdjbkf"; |
131 const char kCitrixReceiverAppId[] = "haiffjcadagjlijoggckpgfnoeiflnem"; | 115 const char kCitrixReceiverAppId[] = "haiffjcadagjlijoggckpgfnoeiflnem"; |
132 const char kCitrixReceiverAppBetaId[] = "gnedhmakppccajfpfiihfcdlnpgomkcf"; | 116 const char kCitrixReceiverAppBetaId[] = "gnedhmakppccajfpfiihfcdlnpgomkcf"; |
133 const char kCitrixReceiverAppDevId[] = "fjcibdnjlbfnbfdjneajpipnlcppleek"; | 117 const char kCitrixReceiverAppDevId[] = "fjcibdnjlbfnbfdjneajpipnlcppleek"; |
134 const char kCloudPrintAppId[] = "mfehgcgbbipciphmccgaenjidiccnmng"; | 118 const char kCloudPrintAppId[] = "mfehgcgbbipciphmccgaenjidiccnmng"; |
135 const char kEnterpriseWebStoreAppId[] = "afchcafgojfnemjkcbhfekplkmjaldaa"; | 119 const char kEnterpriseWebStoreAppId[] = "afchcafgojfnemjkcbhfekplkmjaldaa"; |
136 const char kGmailAppId[] = "pjkljhegncpnkpknbcohdijeoejaedia"; | 120 const char kGmailAppId[] = "pjkljhegncpnkpknbcohdijeoejaedia"; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 | 182 |
199 const int kScriptBadgeIconSizes[] = { | 183 const int kScriptBadgeIconSizes[] = { |
200 EXTENSION_ICON_BITTY, // 16 | 184 EXTENSION_ICON_BITTY, // 16 |
201 2 * EXTENSION_ICON_BITTY // 32 | 185 2 * EXTENSION_ICON_BITTY // 32 |
202 }; | 186 }; |
203 | 187 |
204 const size_t kNumScriptBadgeIconSizes = | 188 const size_t kNumScriptBadgeIconSizes = |
205 arraysize(kScriptBadgeIconSizes); | 189 arraysize(kScriptBadgeIconSizes); |
206 | 190 |
207 } // namespace extension_misc | 191 } // namespace extension_misc |
OLD | NEW |