Chromium Code Reviews| Index: third_party/WebKit/Source/core/frame/csp/SourceListDirective.h |
| diff --git a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h |
| index 56c7070a8ee3bf549617a31886b24202047a7fb7..fb105657160a316640a5cf8fe6d8b7daaa4c1747 100644 |
| --- a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h |
| +++ b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.h |
| @@ -45,6 +45,8 @@ class CORE_EXPORT SourceListDirective final : public CSPDirective { |
| bool allowHashedAttributes() const; |
| bool isHashOrNoncePresent() const; |
| uint8_t hashAlgorithmsUsed() const; |
| + bool allowAllInline(); |
|
amalika
2016/11/29 09:42:29
Changing it to be public
|
| + |
| // The algorothm is described more extensively here: |
| // https://w3c.github.io/webappsec-csp/embedded/#subsume-source-list |
| bool subsumes(HeapVector<Member<SourceListDirective>>); |