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

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

Issue 26890003: Remove ThreadLocalEventNames (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix build Created 7 years, 2 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.cpp ('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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 const String& referrer() const { return m_referrer; } 63 const String& referrer() const { return m_referrer; }
64 const String& blockedURI() const { return m_blockedURI; } 64 const String& blockedURI() const { return m_blockedURI; }
65 const String& violatedDirective() const { return m_violatedDirective; } 65 const String& violatedDirective() const { return m_violatedDirective; }
66 const String& effectiveDirective() const { return m_effectiveDirective; } 66 const String& effectiveDirective() const { return m_effectiveDirective; }
67 const String& originalPolicy() const { return m_originalPolicy; } 67 const String& originalPolicy() const { return m_originalPolicy; }
68 const String& sourceFile() const { return m_sourceFile; } 68 const String& sourceFile() const { return m_sourceFile; }
69 int lineNumber() const { return m_lineNumber; } 69 int lineNumber() const { return m_lineNumber; }
70 int columnNumber() const { return m_columnNumber; } 70 int columnNumber() const { return m_columnNumber; }
71 int statusCode() const { return m_statusCode; } 71 int statusCode() const { return m_statusCode; }
72 72
73 virtual const AtomicString& interfaceName() const { return eventNames().inte rfaceForSecurityPolicyViolationEvent; } 73 virtual const AtomicString& interfaceName() const { return EventNames::Secur ityPolicyViolationEvent; }
74 74
75 private: 75 private:
76 SecurityPolicyViolationEvent() 76 SecurityPolicyViolationEvent()
77 { 77 {
78 ScriptWrappable::init(this); 78 ScriptWrappable::init(this);
79 } 79 }
80 80
81 SecurityPolicyViolationEvent(const AtomicString& type, const SecurityPolicyV iolationEventInit& initializer) 81 SecurityPolicyViolationEvent(const AtomicString& type, const SecurityPolicyV iolationEventInit& initializer)
82 : Event(type, initializer) 82 : Event(type, initializer)
83 , m_documentURI(initializer.documentURI) 83 , m_documentURI(initializer.documentURI)
(...skipping 18 matching lines...) Expand all
102 String m_originalPolicy; 102 String m_originalPolicy;
103 String m_sourceFile; 103 String m_sourceFile;
104 int m_lineNumber; 104 int m_lineNumber;
105 int m_columnNumber; 105 int m_columnNumber;
106 int m_statusCode; 106 int m_statusCode;
107 }; 107 };
108 108
109 } // namespace WebCore 109 } // namespace WebCore
110 110
111 #endif // SecurityPolicyViolationEvent_h 111 #endif // SecurityPolicyViolationEvent_h
OLDNEW
« no previous file with comments | « Source/core/events/ResourceProgressEvent.cpp ('k') | Source/core/events/TextEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698