crx_file.h 580 B

123456789101112131415161718
  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. #ifndef COMPONENTS_CRX_FILE_CRX_FILE_H_
  5. #define COMPONENTS_CRX_FILE_CRX_FILE_H_
  6. namespace crx_file {
  7. // The magic string embedded in the header.
  8. constexpr char kCrxFileHeaderMagic[] = "Cr24";
  9. constexpr char kCrxDiffFileHeaderMagic[] = "CrOD";
  10. constexpr int kCrxFileHeaderMagicSize = 4;
  11. constexpr char kSignatureContext[] = "CRX3 SignedData";
  12. } // namespace crx_file
  13. #endif // COMPONENTS_CRX_FILE_CRX_FILE_H_