Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(678)

Side by Side Diff: components/crx_file/constants.h

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/cronet/histogram_manager_unittest.cc ('k') | components/crx_file/crx_file.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_CRX_FILE_CONSTANTS_H_ 5 #ifndef COMPONENTS_CRX_FILE_CONSTANTS_H_
6 #define COMPONENTS_CRX_FILE_CONSTANTS_H_ 6 #define COMPONENTS_CRX_FILE_CONSTANTS_H_
7 7
8 #include "base/basictypes.h" 8 #include <stdint.h>
9 9
10 namespace crx_file { 10 namespace crx_file {
11 11
12 // Note: this structure is an ASN.1 which encodes the algorithm used 12 // Note: this structure is an ASN.1 which encodes the algorithm used
13 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447). 13 // with its parameters. This is defined in PKCS #1 v2.1 (RFC 3447).
14 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL } 14 // It is encoding: { OID sha1WithRSAEncryption PARAMETERS NULL }
15 const uint8 kSignatureAlgorithm[15] = {0x30, 0x0d, 0x06, 0x09, 0x2a, 15 const uint8_t kSignatureAlgorithm[15] = {0x30, 0x0d, 0x06, 0x09, 0x2a,
16 0x86, 0x48, 0x86, 0xf7, 0x0d, 16 0x86, 0x48, 0x86, 0xf7, 0x0d,
17 0x01, 0x01, 0x05, 0x05, 0x00}; 17 0x01, 0x01, 0x05, 0x05, 0x00};
18 18
19 } // namespace crx_file 19 } // namespace crx_file
20 20
21 #endif // COMPONENTS_CRX_FILE_CONSTANTS_H_ 21 #endif // COMPONENTS_CRX_FILE_CONSTANTS_H_
OLDNEW
« no previous file with comments | « components/cronet/histogram_manager_unittest.cc ('k') | components/crx_file/crx_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698