atom_constants.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. // Copyright (c) 2015 GitHub, Inc.
  2. // Use of this source code is governed by the MIT license that can be
  3. // found in the LICENSE file.
  4. #ifndef ATOM_COMMON_ATOM_CONSTANTS_H_
  5. #define ATOM_COMMON_ATOM_CONSTANTS_H_
  6. namespace atom {
  7. // Header to ignore CORS.
  8. extern const char kCORSHeader[];
  9. // Strings describing Chrome security policy for DevTools security panel.
  10. extern const char kSHA1Certificate[];
  11. extern const char kSHA1MajorDescription[];
  12. extern const char kSHA1MinorDescription[];
  13. extern const char kCertificateError[];
  14. extern const char kValidCertificate[];
  15. extern const char kValidCertificateDescription[];
  16. extern const char kSecureProtocol[];
  17. extern const char kSecureProtocolDescription[];
  18. #if defined(ENABLE_PDF_VIEWER)
  19. // The MIME type used for the PDF plugin.
  20. extern const char kPdfPluginMimeType[];
  21. extern const char kPdfPluginPath[];
  22. extern const char kPdfPluginSrc[];
  23. // Constants for PDF viewer webui.
  24. extern const char kPdfViewerUIOrigin[];
  25. extern const char kPdfViewerUIHost[];
  26. #endif // defined(ENABLE_PDF_VIEWER)
  27. } // namespace atom
  28. #endif // ATOM_COMMON_ATOM_CONSTANTS_H_