Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Side by Side Diff: Source/core/events/SecurityPolicyViolationEvent.h

Issue 1232333002: Fix virtual/override/final usage in the rest of Source/core/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/events/ResourceProgressEvent.h ('k') | Source/core/events/TextEvent.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/events/ResourceProgressEvent.h ('k') | Source/core/events/TextEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698