Chromium Code Reviews| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 106 | 106 |
| 107 // The extension id of the Crosh component app for ChromeOS. | 107 // The extension id of the Crosh component app for ChromeOS. |
| 108 extern const char kCroshBuiltinAppId[]; | 108 extern const char kCroshBuiltinAppId[]; |
| 109 | 109 |
| 110 // The extension id of the Web Store component application. | 110 // The extension id of the Web Store component application. |
| 111 extern const char kWebStoreAppId[]; | 111 extern const char kWebStoreAppId[]; |
| 112 | 112 |
| 113 // The extension id of the Cloud Print component application. | 113 // The extension id of the Cloud Print component application. |
| 114 extern const char kCloudPrintAppId[]; | 114 extern const char kCloudPrintAppId[]; |
| 115 | 115 |
| 116 #if defined(USE_ASH) | |
|
asargent_no_longer_on_chrome
2012/06/21 22:45:08
nit: this probably doesn't need be in an USE_ASH i
xiyuan
2012/06/21 23:19:44
You are right. Removed the #if defined.
| |
| 117 // The extension id of the Chrome component application. | |
| 118 extern const char kChromeAppId[]; | |
| 119 #endif | |
| 120 | |
| 116 // Note: this structure is an ASN.1 which encodes the algorithm used | 121 // Note: this structure is an ASN.1 which encodes the algorithm used |
| 117 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). | 122 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). |
| 118 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } | 123 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } |
| 119 const uint8 kSignatureAlgorithm[15] = { | 124 const uint8 kSignatureAlgorithm[15] = { |
| 120 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, | 125 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, |
| 121 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 | 126 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 |
| 122 }; | 127 }; |
| 123 | 128 |
| 124 // Don't remove items or change the order of this enum. It's used in | 129 // Don't remove items or change the order of this enum. It's used in |
| 125 // histograms and preferences. | 130 // histograms and preferences. |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 249 extern const char kAppStateRunning[]; | 254 extern const char kAppStateRunning[]; |
| 250 extern const char kAppStateCannotRun[]; | 255 extern const char kAppStateCannotRun[]; |
| 251 extern const char kAppStateReadyToRun[]; | 256 extern const char kAppStateReadyToRun[]; |
| 252 | 257 |
| 253 // Error indicating that the app notifications API is not accessible by split | 258 // Error indicating that the app notifications API is not accessible by split |
| 254 // mode extensions in incognito windows. | 259 // mode extensions in incognito windows. |
| 255 extern const char kAppNotificationsIncognitoError[]; | 260 extern const char kAppNotificationsIncognitoError[]; |
| 256 } // extension_misc | 261 } // extension_misc |
| 257 | 262 |
| 258 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 263 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| OLD | NEW |