electron/atom/common/atom_constants.h

35 lines
1 KiB
C
Raw Normal View History

2015-12-01 16:21:15 +08:00
// Copyright (c) 2015 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#ifndef ATOM_COMMON_ATOM_CONSTANTS_H_
#define ATOM_COMMON_ATOM_CONSTANTS_H_
namespace atom {
// Header to ignore CORS.
extern const char kCORSHeader[];
// Strings describing Chrome security policy for DevTools security panel.
extern const char kSHA1Certificate[];
extern const char kSHA1MajorDescription[];
extern const char kSHA1MinorDescription[];
extern const char kCertificateError[];
extern const char kValidCertificate[];
extern const char kValidCertificateDescription[];
extern const char kSecureProtocol[];
extern const char kSecureProtocolDescription[];
2015-12-01 16:21:15 +08:00
2017-01-23 18:50:30 +05:30
// The MIME type used for the PDF plugin.
extern const char kPdfPluginMimeType[];
extern const char kPdfPluginPath[];
2017-02-03 15:06:53 +05:30
extern const char kPdfPluginSrc[];
// Constants for PDF viewer webui.
extern const char kPdfViewerUIOrigin[];
extern const char kPdfViewerUIHost[];
2017-01-23 18:50:30 +05:30
2015-12-01 16:21:15 +08:00
} // namespace atom
#endif // ATOM_COMMON_ATOM_CONSTANTS_H_