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

Side by Side Diff: third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h

Issue 2536713002: Part 3.3: Is policy list subsumed under subsuming policy? (Closed)
Patch Set: Rebasing on master (that includes part3.2 changes) Created 4 years 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CSPDirectiveList_h 5 #ifndef CSPDirectiveList_h
6 #define CSPDirectiveList_h 6 #define CSPDirectiveList_h
7 7
8 #include "core/fetch/Resource.h" 8 #include "core/fetch/Resource.h"
9 #include "core/frame/csp/ContentSecurityPolicy.h" 9 #include "core/frame/csp/ContentSecurityPolicy.h"
10 #include "core/frame/csp/MediaListDirective.h" 10 #include "core/frame/csp/MediaListDirective.h"
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 Element*) const; 216 Element*) const;
217 void reportViolationWithState( 217 void reportViolationWithState(
218 const String& directiveText, 218 const String& directiveText,
219 const ContentSecurityPolicy::DirectiveType&, 219 const ContentSecurityPolicy::DirectiveType&,
220 const String& message, 220 const String& message,
221 const KURL& blockedURL, 221 const KURL& blockedURL,
222 ScriptState*, 222 ScriptState*,
223 const ContentSecurityPolicy::ExceptionStatus) const; 223 const ContentSecurityPolicy::ExceptionStatus) const;
224 224
225 bool checkEval(SourceListDirective*) const; 225 bool checkEval(SourceListDirective*) const;
226 bool checkInline(SourceListDirective*) const;
227 bool checkDynamic(SourceListDirective*) const; 226 bool checkDynamic(SourceListDirective*) const;
228 bool isMatchingNoncePresent(SourceListDirective*, const String&) const; 227 bool isMatchingNoncePresent(SourceListDirective*, const String&) const;
229 bool checkHash(SourceListDirective*, const CSPHashValue&) const; 228 bool checkHash(SourceListDirective*, const CSPHashValue&) const;
230 bool checkHashedAttributes(SourceListDirective*) const; 229 bool checkHashedAttributes(SourceListDirective*) const;
231 bool checkSource(SourceListDirective*, 230 bool checkSource(SourceListDirective*,
232 const KURL&, 231 const KURL&,
233 ResourceRequest::RedirectStatus) const; 232 ResourceRequest::RedirectStatus) const;
234 bool checkMediaType(MediaListDirective*, 233 bool checkMediaType(MediaListDirective*,
235 const String& type, 234 const String& type,
236 const String& typeAttribute) const; 235 const String& typeAttribute) const;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 uint8_t m_requireSRIFor; 317 uint8_t m_requireSRIFor;
319 318
320 Vector<String> m_reportEndpoints; 319 Vector<String> m_reportEndpoints;
321 320
322 String m_evalDisabledErrorMessage; 321 String m_evalDisabledErrorMessage;
323 }; 322 };
324 323
325 } // namespace blink 324 } // namespace blink
326 325
327 #endif 326 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698