summaryrefslogtreecommitdiff
path: root/chromium/components/crx_file/crx_file.h
blob: 4e258e125b77d6563cfb5c80baced711fc662145 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_CRX_FILE_CRX_FILE_H_
#define COMPONENTS_CRX_FILE_CRX_FILE_H_

namespace crx_file {

// The magic string embedded in the header.
constexpr char kCrxFileHeaderMagic[] = "Cr24";
constexpr char kCrxDiffFileHeaderMagic[] = "CrOD";
constexpr int kCrxFileHeaderMagicSize = 4;
constexpr unsigned char kSignatureContext[] = u8"CRX3 SignedData";

}  // namespace crx_file

#endif  // COMPONENTS_CRX_FILE_CRX_FILE_H_