atom_constants.cc 1.4 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. #include "atom/common/atom_constants.h"
  5. namespace atom {
  6. const char kCORSHeader[] = "Access-Control-Allow-Origin: *";
  7. const char kSHA1Certificate[] = "SHA-1 Certificate";
  8. const char kSHA1MajorDescription[] =
  9. "The certificate for this site expires in 2017 or later, "
  10. "and the certificate chain contains a certificate signed using SHA-1.";
  11. const char kSHA1MinorDescription[] =
  12. "The certificate for this site expires in 2016, "
  13. "and the certificate chain contains a certificate signed using SHA-1.";
  14. const char kCertificateError[] = "Certificate Error";
  15. const char kValidCertificate[] = "Valid Certificate";
  16. const char kValidCertificateDescription[] =
  17. "The connection to this site is using a valid, trusted server certificate.";
  18. const char kSecureProtocol[] = "Secure TLS connection";
  19. const char kSecureProtocolDescription[] =
  20. "The connection to this site is using a strong protocol version "
  21. "and cipher suite.";
  22. #if defined(ENABLE_PDF_VIEWER)
  23. const char kPdfPluginMimeType[] = "application/x-google-chrome-pdf";
  24. const char kPdfPluginPath[] = "chrome://pdf-viewer/";
  25. const char kPdfPluginSrc[] = "src";
  26. const char kPdfViewerUIOrigin[] = "chrome://pdf-viewer/";
  27. const char kPdfViewerUIHost[] = "pdf-viewer";
  28. #endif // defined(ENABLE_PDF_VIEWER)
  29. } // namespace atom