Chromium Code Reviews| Index: Source/core/frame/csp/CSPDirectiveList.h |
| diff --git a/Source/core/frame/csp/CSPDirectiveList.h b/Source/core/frame/csp/CSPDirectiveList.h |
| index f3f474a32aa74c455a1845c2761e20b5e08548f4..eac0a8b445b323d0c01b0ea7211cd3cdc1988c9d 100644 |
| --- a/Source/core/frame/csp/CSPDirectiveList.h |
| +++ b/Source/core/frame/csp/CSPDirectiveList.h |
| @@ -74,6 +74,8 @@ private: |
| void parseReferrer(const String& name, const String& value); |
| void addDirective(const String& name, const String& value); |
| void applySandboxPolicy(const String& name, const String& sandboxPolicy); |
| + void applySuboriginPolicy(const String& name, const String& suboriginPolicy); |
| + String parseSuboriginName(const String& policy); |
|
Mike West
2014/10/23 12:59:19
Nit: Move this up next to the other parse function
jww
2015/03/20 22:50:03
Done.
|
| template <class CSPDirectiveType> |
| void setCSPDirective(const String& name, const String& value, OwnPtr<CSPDirectiveType>&); |
| @@ -112,6 +114,7 @@ private: |
| bool m_reportOnly; |
| bool m_haveSandboxPolicy; |
| + bool m_haveSuboriginPolicy; |
|
Mike West
2014/10/23 12:59:19
Nit: These both should be "hasXXX", not "haveXXX".
jww
2015/03/20 22:50:03
Done.
|
| ReflectedXSSDisposition m_reflectedXSSDisposition; |
| bool m_didSetReferrerPolicy; |