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 13 matching lines...) Expand all Loading... |
24 */ | 24 */ |
25 | 25 |
26 #ifndef XSSAuditorDelegate_h | 26 #ifndef XSSAuditorDelegate_h |
27 #define XSSAuditorDelegate_h | 27 #define XSSAuditorDelegate_h |
28 | 28 |
29 #include "weborigin/KURL.h" | 29 #include "weborigin/KURL.h" |
30 #include "wtf/OwnPtr.h" | 30 #include "wtf/OwnPtr.h" |
31 #include "wtf/PassOwnPtr.h" | 31 #include "wtf/PassOwnPtr.h" |
32 #include "wtf/Vector.h" | 32 #include "wtf/Vector.h" |
33 #include "wtf/text/TextPosition.h" | 33 #include "wtf/text/TextPosition.h" |
34 #include "wtf/text/WTFString.h" | |
35 | 34 |
36 namespace WebCore { | 35 namespace WebCore { |
37 | 36 |
38 class Document; | 37 class Document; |
39 class FormData; | 38 class FormData; |
40 | 39 |
41 class XSSInfo { | 40 class XSSInfo { |
42 public: | 41 public: |
43 static PassOwnPtr<XSSInfo> create(bool didBlockEntirePage, bool didSendXSSPr
otectionHeader, bool didSendCSPHeader) | 42 static PassOwnPtr<XSSInfo> create(bool didBlockEntirePage, bool didSendXSSPr
otectionHeader, bool didSendCSPHeader) |
44 { | 43 { |
(...skipping 27 matching lines...) Expand all Loading... |
72 Document* m_document; | 71 Document* m_document; |
73 bool m_didSendNotifications; | 72 bool m_didSendNotifications; |
74 KURL m_reportURL; | 73 KURL m_reportURL; |
75 }; | 74 }; |
76 | 75 |
77 typedef Vector<OwnPtr<XSSInfo> > XSSInfoStream; | 76 typedef Vector<OwnPtr<XSSInfo> > XSSInfoStream; |
78 | 77 |
79 } | 78 } |
80 | 79 |
81 #endif | 80 #endif |
OLD | NEW |