Joshua Pawlicki | b8bc9f9 | 2017-10-16 17:23:52 | [diff] [blame] | 1 | // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef COMPONENTS_CRX_FILE_CRX_FILE_H_ |
| 6 | #define COMPONENTS_CRX_FILE_CRX_FILE_H_ |
| 7 | |
| 8 | namespace crx_file { |
| 9 | |
| 10 | // The magic string embedded in the header. |
| 11 | constexpr char kCrxFileHeaderMagic[] = "Cr24"; |
| 12 | constexpr char kCrxDiffFileHeaderMagic[] = "CrOD"; |
| 13 | constexpr int kCrxFileHeaderMagicSize = 4; |
| 14 | constexpr unsigned char kSignatureContext[] = u8"CRX3 SignedData"; |
| 15 | |
| 16 | } // namespace crx_file |
| 17 | |
| 18 | #endif // COMPONENTS_CRX_FILE_CRX_FILE_H_ |