| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 const String& referrer() const { return m_referrer; } | 47 const String& referrer() const { return m_referrer; } |
| 48 const String& blockedURI() const { return m_blockedURI; } | 48 const String& blockedURI() const { return m_blockedURI; } |
| 49 const String& violatedDirective() const { return m_violatedDirective; } | 49 const String& violatedDirective() const { return m_violatedDirective; } |
| 50 const String& effectiveDirective() const { return m_effectiveDirective; } | 50 const String& effectiveDirective() const { return m_effectiveDirective; } |
| 51 const String& originalPolicy() const { return m_originalPolicy; } | 51 const String& originalPolicy() const { return m_originalPolicy; } |
| 52 const String& sourceFile() const { return m_sourceFile; } | 52 const String& sourceFile() const { return m_sourceFile; } |
| 53 int lineNumber() const { return m_lineNumber; } | 53 int lineNumber() const { return m_lineNumber; } |
| 54 int columnNumber() const { return m_columnNumber; } | 54 int columnNumber() const { return m_columnNumber; } |
| 55 int statusCode() const { return m_statusCode; } | 55 int statusCode() const { return m_statusCode; } |
| 56 | 56 |
| 57 virtual const AtomicString& interfaceName() const override { return EventNam
es::SecurityPolicyViolationEvent; } | 57 const AtomicString& interfaceName() const override { return EventNames::Secu
rityPolicyViolationEvent; } |
| 58 | 58 |
| 59 DEFINE_INLINE_VIRTUAL_TRACE() { Event::trace(visitor); } | 59 DEFINE_INLINE_VIRTUAL_TRACE() { Event::trace(visitor); } |
| 60 | 60 |
| 61 private: | 61 private: |
| 62 SecurityPolicyViolationEvent() { } | 62 SecurityPolicyViolationEvent() { } |
| 63 | 63 |
| 64 SecurityPolicyViolationEvent(const AtomicString& type, const SecurityPolicyV
iolationEventInit& initializer) | 64 SecurityPolicyViolationEvent(const AtomicString& type, const SecurityPolicyV
iolationEventInit& initializer) |
| 65 : Event(type, initializer) | 65 : Event(type, initializer) |
| 66 , m_lineNumber(0) | 66 , m_lineNumber(0) |
| 67 , m_columnNumber(0) | 67 , m_columnNumber(0) |
| (...skipping 29 matching lines...) Expand all Loading... |
| 97 String m_originalPolicy; | 97 String m_originalPolicy; |
| 98 String m_sourceFile; | 98 String m_sourceFile; |
| 99 int m_lineNumber; | 99 int m_lineNumber; |
| 100 int m_columnNumber; | 100 int m_columnNumber; |
| 101 int m_statusCode; | 101 int m_statusCode; |
| 102 }; | 102 }; |
| 103 | 103 |
| 104 } // namespace blink | 104 } // namespace blink |
| 105 | 105 |
| 106 #endif // SecurityPolicyViolationEvent_h | 106 #endif // SecurityPolicyViolationEvent_h |
| OLD | NEW |