OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Constants used for the WebRequest API. | 5 // Constants used for the WebRequest API. |
6 | 6 |
7 #ifndef EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ | 7 #ifndef EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ |
8 #define EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ | 8 #define EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ |
9 | 9 |
10 namespace extension_web_request_api_constants { | 10 namespace extension_web_request_api_constants { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
44 extern const char kHeaderBinaryValueKey[]; | 44 extern const char kHeaderBinaryValueKey[]; |
45 extern const char kIsProxyKey[]; | 45 extern const char kIsProxyKey[]; |
46 extern const char kMessageKey[]; | 46 extern const char kMessageKey[]; |
47 extern const char kSchemeKey[]; | 47 extern const char kSchemeKey[]; |
48 extern const char kStageKey[]; | 48 extern const char kStageKey[]; |
49 extern const char kRealmKey[]; | 49 extern const char kRealmKey[]; |
50 extern const char kAuthCredentialsKey[]; | 50 extern const char kAuthCredentialsKey[]; |
51 extern const char kUsernameKey[]; | 51 extern const char kUsernameKey[]; |
52 extern const char kPasswordKey[]; | 52 extern const char kPasswordKey[]; |
53 | 53 |
54 extern const char kSSLInfoKey[]; | |
estark
2016/07/18 23:05:31
Is it necessary to include all of the fields below
rolandshoemaker
2016/07/25 19:08:47
I think there is a good bit that can be axed. Afte
| |
55 extern const char kCipherStrengthKey[]; | |
56 extern const char kClientCertSentKey[]; | |
57 extern const char kChannelIDSentKey[]; | |
58 extern const char kTokenBindingNegotiatedKey[]; | |
59 extern const char kCertificateValidKey[]; | |
60 extern const char kCertificateIssuedByKnownRootKey[]; | |
61 extern const char kEVCertificateKey[]; | |
62 extern const char kBuiltChainKey[]; | |
63 extern const char kSentChainKey[]; | |
64 extern const char kSSLVersionKey[]; | |
65 extern const char kCipherNameKey[]; | |
66 extern const char kKeyExchangeNameKey[]; | |
67 extern const char kAEDSuiteKey[]; | |
68 extern const char kMACNameKey[]; | |
69 extern const char kDeflateCompressionKey[]; | |
70 extern const char kVersionFallbackKey[]; | |
71 extern const char kNoRenegotiationExtensionKey[]; | |
72 extern const char kRevocationCheckingEnabledKey[]; | |
73 extern const char kErrorsKey[]; | |
74 extern const char kNonUniqueNameKey[]; | |
75 extern const char kSHA1SignaturePresentKey[]; | |
76 extern const char kCTComplianceFailedKey[]; | |
77 extern const char kCommonNameKey[]; | |
78 extern const char kLocalityNameKey[]; | |
79 extern const char kStateOrProvinceNameKey[]; | |
80 extern const char kCountryNameKey[]; | |
81 extern const char kStreetAddressesKey[]; | |
82 extern const char kOrganizationNamesKey[]; | |
83 extern const char kOrganizationUnitNamesKey[]; | |
84 extern const char kSerialNumberKey[]; | |
85 extern const char kChainKey[]; | |
86 extern const char kDomainComponentsKey[]; | |
87 extern const char kConnectionInfoKey[]; | |
88 | |
54 // Events. | 89 // Events. |
55 extern const char kOnAuthRequiredEvent[]; | 90 extern const char kOnAuthRequiredEvent[]; |
56 extern const char kOnBeforeRedirectEvent[]; | 91 extern const char kOnBeforeRedirectEvent[]; |
57 extern const char kOnBeforeRequestEvent[]; | 92 extern const char kOnBeforeRequestEvent[]; |
58 extern const char kOnBeforeSendHeadersEvent[]; | 93 extern const char kOnBeforeSendHeadersEvent[]; |
59 extern const char kOnCompletedEvent[]; | 94 extern const char kOnCompletedEvent[]; |
60 extern const char kOnErrorOccurredEvent[]; | 95 extern const char kOnErrorOccurredEvent[]; |
61 extern const char kOnHeadersReceivedEvent[]; | 96 extern const char kOnHeadersReceivedEvent[]; |
62 extern const char kOnResponseStartedEvent[]; | 97 extern const char kOnResponseStartedEvent[]; |
63 extern const char kOnSendHeadersEvent[]; | 98 extern const char kOnSendHeadersEvent[]; |
(...skipping 16 matching lines...) Expand all Loading... | |
80 extern const char kBlockingPermissionRequired[]; | 115 extern const char kBlockingPermissionRequired[]; |
81 extern const char kHostPermissionsRequired[]; | 116 extern const char kHostPermissionsRequired[]; |
82 extern const char kInvalidHeaderKeyCombination[]; | 117 extern const char kInvalidHeaderKeyCombination[]; |
83 extern const char kInvalidHeader[]; | 118 extern const char kInvalidHeader[]; |
84 extern const char kInvalidHeaderName[]; | 119 extern const char kInvalidHeaderName[]; |
85 extern const char kInvalidHeaderValue[]; | 120 extern const char kInvalidHeaderValue[]; |
86 | 121 |
87 } // namespace extension_web_request_api_constants | 122 } // namespace extension_web_request_api_constants |
88 | 123 |
89 #endif // EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ | 124 #endif // EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ |
OLD | NEW |