| 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 | 132 |
| 133 // The extension id of the Youtube application. | 133 // The extension id of the Youtube application. |
| 134 extern const char kYoutubeAppId[]; | 134 extern const char kYoutubeAppId[]; |
| 135 | 135 |
| 136 // The extension id of the Identity API UI application. | 136 // The extension id of the Identity API UI application. |
| 137 extern const char kIdentityApiUiAppId[]; | 137 extern const char kIdentityApiUiAppId[]; |
| 138 | 138 |
| 139 // The extension id of the in-app payments support application. | 139 // The extension id of the in-app payments support application. |
| 140 extern const char kInAppPaymentsSupportAppId[]; | 140 extern const char kInAppPaymentsSupportAppId[]; |
| 141 | 141 |
| 142 // The extension id of the Tips & Tricks application. | |
| 143 extern const char kTipsAndTricksAppId[]; | |
| 144 | |
| 145 // Note: this structure is an ASN.1 which encodes the algorithm used | 142 // Note: this structure is an ASN.1 which encodes the algorithm used |
| 146 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). | 143 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). |
| 147 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } | 144 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } |
| 148 const uint8 kSignatureAlgorithm[15] = { | 145 const uint8 kSignatureAlgorithm[15] = { |
| 149 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, | 146 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, |
| 150 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 | 147 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 |
| 151 }; | 148 }; |
| 152 | 149 |
| 153 // The name of the app launch histogram. | 150 // The name of the app launch histogram. |
| 154 extern const char kAppLaunchHistogram[]; | 151 extern const char kAppLaunchHistogram[]; |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 LAUNCH_CONTAINER_WINDOW, | 339 LAUNCH_CONTAINER_WINDOW, |
| 343 LAUNCH_CONTAINER_PANEL, | 340 LAUNCH_CONTAINER_PANEL, |
| 344 LAUNCH_CONTAINER_TAB, | 341 LAUNCH_CONTAINER_TAB, |
| 345 // For platform apps, which don't actually have a container (they just get a | 342 // For platform apps, which don't actually have a container (they just get a |
| 346 // "onLaunched" event). | 343 // "onLaunched" event). |
| 347 LAUNCH_CONTAINER_NONE | 344 LAUNCH_CONTAINER_NONE |
| 348 }; | 345 }; |
| 349 } // namespace extensions | 346 } // namespace extensions |
| 350 | 347 |
| 351 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 348 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
| OLD | NEW |