atom_constants.cc 1.5 KB

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