| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google, Inc. All rights reserved. | 2 * Copyright (C) 2013 Google, Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 class ResourceResponse; | 33 class ResourceResponse; |
| 34 | 34 |
| 35 class ContentSecurityPolicyResponseHeaders { | 35 class ContentSecurityPolicyResponseHeaders { |
| 36 public: | 36 public: |
| 37 ContentSecurityPolicyResponseHeaders() { } | 37 ContentSecurityPolicyResponseHeaders() { } |
| 38 explicit ContentSecurityPolicyResponseHeaders(const ResourceResponse&); | 38 explicit ContentSecurityPolicyResponseHeaders(const ResourceResponse&); |
| 39 | 39 |
| 40 const String& contentSecurityPolicy() const { return m_contentSecurityPolicy
; } | 40 const String& contentSecurityPolicy() const { return m_contentSecurityPolicy
; } |
| 41 const String& contentSecurityPolicyReportOnly() const { return m_contentSecu
rityPolicyReportOnly; } | 41 const String& contentSecurityPolicyReportOnly() const { return m_contentSecu
rityPolicyReportOnly; } |
| 42 const String& xWebKitCSP() const { return m_xWebKitCSP; } | |
| 43 const String& xWebKitCSPReportOnly() const { return m_xWebKitCSPReportOnly;
} | |
| 44 | 42 |
| 45 private: | 43 private: |
| 46 String m_contentSecurityPolicy; | 44 String m_contentSecurityPolicy; |
| 47 String m_contentSecurityPolicyReportOnly; | 45 String m_contentSecurityPolicyReportOnly; |
| 48 String m_xWebKitCSP; | |
| 49 String m_xWebKitCSPReportOnly; | |
| 50 }; | 46 }; |
| 51 | 47 |
| 52 } | 48 } |
| 53 | 49 |
| 54 #endif | 50 #endif |
| OLD | NEW |