OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 | 279 |
280 namespace extension_misc { | 280 namespace extension_misc { |
281 const int kUnknownWindowId = -1; | 281 const int kUnknownWindowId = -1; |
282 | 282 |
283 // The extension id of the bookmark manager. | 283 // The extension id of the bookmark manager. |
284 extern const char* kBookmarkManagerId; | 284 extern const char* kBookmarkManagerId; |
285 | 285 |
286 // The extension id of the Web Store component application. | 286 // The extension id of the Web Store component application. |
287 extern const char* kWebStoreAppId; | 287 extern const char* kWebStoreAppId; |
288 | 288 |
| 289 // The extension id of the Cloud Print component application. |
| 290 extern const char* kCloudPrintAppId; |
| 291 |
289 // Note: this structure is an ASN.1 which encodes the algorithm used | 292 // Note: this structure is an ASN.1 which encodes the algorithm used |
290 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). | 293 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). |
291 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } | 294 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } |
292 const uint8 kSignatureAlgorithm[15] = { | 295 const uint8 kSignatureAlgorithm[15] = { |
293 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, | 296 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, |
294 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 | 297 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 |
295 }; | 298 }; |
296 | 299 |
297 // Don't remove items or change the order of this enum. It's used in | 300 // Don't remove items or change the order of this enum. It's used in |
298 // histograms and preferences. | 301 // histograms and preferences. |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 INSTALL_CAUSE_UNSET = 0, | 396 INSTALL_CAUSE_UNSET = 0, |
394 INSTALL_CAUSE_USER_DOWNLOAD, | 397 INSTALL_CAUSE_USER_DOWNLOAD, |
395 INSTALL_CAUSE_UPDATE, | 398 INSTALL_CAUSE_UPDATE, |
396 INSTALL_CAUSE_EXTERNAL_FILE, | 399 INSTALL_CAUSE_EXTERNAL_FILE, |
397 INSTALL_CAUSE_AUTOMATION, | 400 INSTALL_CAUSE_AUTOMATION, |
398 NUM_INSTALL_CAUSES | 401 NUM_INSTALL_CAUSES |
399 }; | 402 }; |
400 } // extension_misc | 403 } // extension_misc |
401 | 404 |
402 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 405 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
OLD | NEW |