| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Google Inc. All rights reserved. | 3 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 HTTPVersion_1_1, | 54 HTTPVersion_1_1, |
| 55 HTTPVersion_2_0 }; | 55 HTTPVersion_2_0 }; |
| 56 enum SecurityStyle { | 56 enum SecurityStyle { |
| 57 SecurityStyleUnknown, | 57 SecurityStyleUnknown, |
| 58 SecurityStyleUnauthenticated, | 58 SecurityStyleUnauthenticated, |
| 59 SecurityStyleAuthenticationBroken, | 59 SecurityStyleAuthenticationBroken, |
| 60 SecurityStyleWarning, | 60 SecurityStyleWarning, |
| 61 SecurityStyleAuthenticated | 61 SecurityStyleAuthenticated |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 class SignedCertificateTimestamp { | 64 class PLATFORM_EXPORT SignedCertificateTimestamp final { |
| 65 public: | 65 public: |
| 66 SignedCertificateTimestamp( | 66 SignedCertificateTimestamp( |
| 67 String status, | 67 String status, |
| 68 String origin, | 68 String origin, |
| 69 String logDescription, | 69 String logDescription, |
| 70 String logId, | 70 String logId, |
| 71 int64_t timestamp, | 71 int64_t timestamp, |
| 72 String hashAlgorithm, | 72 String hashAlgorithm, |
| 73 String signatureAlgorithm, | 73 String signatureAlgorithm, |
| 74 String signatureData) | 74 String signatureData) |
| 75 : m_status(status) | 75 : m_status(status) |
| 76 , m_origin(origin) | 76 , m_origin(origin) |
| 77 , m_logDescription(logDescription) | 77 , m_logDescription(logDescription) |
| 78 , m_logId(logId) | 78 , m_logId(logId) |
| 79 , m_timestamp(timestamp) | 79 , m_timestamp(timestamp) |
| 80 , m_hashAlgorithm(hashAlgorithm) | 80 , m_hashAlgorithm(hashAlgorithm) |
| 81 , m_signatureAlgorithm(signatureAlgorithm) | 81 , m_signatureAlgorithm(signatureAlgorithm) |
| 82 , m_signatureData(signatureData) | 82 , m_signatureData(signatureData) |
| 83 { | 83 { |
| 84 } | 84 } |
| 85 explicit SignedCertificateTimestamp( | 85 explicit SignedCertificateTimestamp( |
| 86 const struct blink::WebURLResponse::SignedCertificateTimestamp&); | 86 const struct blink::WebURLResponse::SignedCertificateTimestamp&); |
| 87 SignedCertificateTimestamp isolatedCopy() const; |
| 88 |
| 87 String m_status; | 89 String m_status; |
| 88 String m_origin; | 90 String m_origin; |
| 89 String m_logDescription; | 91 String m_logDescription; |
| 90 String m_logId; | 92 String m_logId; |
| 91 int64_t m_timestamp; | 93 int64_t m_timestamp; |
| 92 String m_hashAlgorithm; | 94 String m_hashAlgorithm; |
| 93 String m_signatureAlgorithm; | 95 String m_signatureAlgorithm; |
| 94 String m_signatureData; | 96 String m_signatureData; |
| 95 }; | 97 }; |
| 96 | 98 |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 int64_t m_responseTime; | 453 int64_t m_responseTime; |
| 452 String m_remoteIPAddress; | 454 String m_remoteIPAddress; |
| 453 unsigned short m_remotePort; | 455 unsigned short m_remotePort; |
| 454 String m_downloadedFilePath; | 456 String m_downloadedFilePath; |
| 455 RefPtr<BlobDataHandle> m_downloadedFileHandle; | 457 RefPtr<BlobDataHandle> m_downloadedFileHandle; |
| 456 }; | 458 }; |
| 457 | 459 |
| 458 } // namespace blink | 460 } // namespace blink |
| 459 | 461 |
| 460 #endif // ResourceResponse_h | 462 #endif // ResourceResponse_h |
| OLD | NEW |