| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All Rights Reserved. | 2 * Copyright (C) 2011 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 | 26 |
| 27 #ifndef SecurityContext_h | 27 #ifndef SecurityContext_h |
| 28 #define SecurityContext_h | 28 #define SecurityContext_h |
| 29 | 29 |
| 30 #include "core/CoreExport.h" | 30 #include "core/CoreExport.h" |
| 31 #include "core/dom/SandboxFlags.h" | 31 #include "core/dom/SandboxFlags.h" |
| 32 #include "platform/heap/Handle.h" | 32 #include "platform/heap/Handle.h" |
| 33 #include "platform/weborigin/Suborigin.h" | 33 #include "platform/weborigin/Suborigin.h" |
| 34 #include "platform/wtf/HashSet.h" |
| 35 #include "platform/wtf/Noncopyable.h" |
| 36 #include "platform/wtf/PassRefPtr.h" |
| 37 #include "platform/wtf/RefPtr.h" |
| 38 #include "platform/wtf/text/StringHash.h" |
| 39 #include "platform/wtf/text/WTFString.h" |
| 34 #include "public/platform/WebAddressSpace.h" | 40 #include "public/platform/WebAddressSpace.h" |
| 35 #include "public/platform/WebFeaturePolicy.h" | 41 #include "public/platform/WebFeaturePolicy.h" |
| 36 #include "public/platform/WebInsecureRequestPolicy.h" | 42 #include "public/platform/WebInsecureRequestPolicy.h" |
| 37 #include "public/platform/WebURLRequest.h" | 43 #include "public/platform/WebURLRequest.h" |
| 38 #include "wtf/HashSet.h" | |
| 39 #include "wtf/Noncopyable.h" | |
| 40 #include "wtf/PassRefPtr.h" | |
| 41 #include "wtf/RefPtr.h" | |
| 42 #include "wtf/text/StringHash.h" | |
| 43 #include "wtf/text/WTFString.h" | |
| 44 | 44 |
| 45 #include <memory> | 45 #include <memory> |
| 46 | 46 |
| 47 namespace blink { | 47 namespace blink { |
| 48 | 48 |
| 49 class SecurityOrigin; | 49 class SecurityOrigin; |
| 50 class ContentSecurityPolicy; | 50 class ContentSecurityPolicy; |
| 51 | 51 |
| 52 class CORE_EXPORT SecurityContext : public GarbageCollectedMixin { | 52 class CORE_EXPORT SecurityContext : public GarbageCollectedMixin { |
| 53 WTF_MAKE_NONCOPYABLE(SecurityContext); | 53 WTF_MAKE_NONCOPYABLE(SecurityContext); |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 SandboxFlags sandbox_flags_; | 114 SandboxFlags sandbox_flags_; |
| 115 | 115 |
| 116 WebAddressSpace address_space_; | 116 WebAddressSpace address_space_; |
| 117 WebInsecureRequestPolicy insecure_request_policy_; | 117 WebInsecureRequestPolicy insecure_request_policy_; |
| 118 InsecureNavigationsSet insecure_navigations_to_upgrade_; | 118 InsecureNavigationsSet insecure_navigations_to_upgrade_; |
| 119 }; | 119 }; |
| 120 | 120 |
| 121 } // namespace blink | 121 } // namespace blink |
| 122 | 122 |
| 123 #endif // SecurityContext_h | 123 #endif // SecurityContext_h |
| OLD | NEW |