OLD | NEW |
---|---|
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 | 10 |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
217 | 217 |
218 namespace extension_misc { | 218 namespace extension_misc { |
219 const int kUnknownWindowId = -1; | 219 const int kUnknownWindowId = -1; |
220 | 220 |
221 // The extension id of the bookmark manager. | 221 // The extension id of the bookmark manager. |
222 extern const char* kBookmarkManagerId; | 222 extern const char* kBookmarkManagerId; |
223 | 223 |
224 // The extension id of the Web Store component application. | 224 // The extension id of the Web Store component application. |
225 extern const char* kWebStoreAppId; | 225 extern const char* kWebStoreAppId; |
226 | 226 |
227 // Web Store app id used in the new tab page. | |
Erik does not do reviews
2010/11/10 23:29:51
I don't get it. How can we have two different app
| |
228 extern const char* kNTPWebStoreAppId; | |
229 | |
227 // Note: this structure is an ASN.1 which encodes the algorithm used | 230 // Note: this structure is an ASN.1 which encodes the algorithm used |
228 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). | 231 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). |
229 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } | 232 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } |
230 const uint8 kSignatureAlgorithm[15] = { | 233 const uint8 kSignatureAlgorithm[15] = { |
231 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, | 234 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, |
232 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 | 235 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 |
233 }; | 236 }; |
234 | 237 |
235 // Don't remove items or change the order of this enum. It's used in | 238 // Don't remove items or change the order of this enum. It's used in |
236 // histograms and preferences. | 239 // histograms and preferences. |
237 enum LaunchContainer { | 240 enum LaunchContainer { |
238 LAUNCH_WINDOW, | 241 LAUNCH_WINDOW, |
239 LAUNCH_PANEL, | 242 LAUNCH_PANEL, |
240 LAUNCH_TAB | 243 LAUNCH_TAB |
241 }; | 244 }; |
245 | |
246 // These are the buckets used in the apps promo histogram. | |
247 enum AppsPromoBuckets { | |
248 LAUNCH_APP, | |
249 LAUNCH_WEB_STORE, | |
250 CLOSE_PROMO, | |
251 EXPIRE_PROMO, | |
252 MAX = EXPIRE_PROMO | |
Erik does not do reviews
2010/11/10 23:29:51
this is wrong. From histogram.h: "the samples sho
| |
253 }; | |
242 } // extension_misc | 254 } // extension_misc |
243 | 255 |
244 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 256 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
OLD | NEW |