| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple 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 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 */ | 27 */ |
| 28 | 28 |
| 29 #ifndef SecurityOrigin_h | 29 #ifndef SecurityOrigin_h |
| 30 #define SecurityOrigin_h | 30 #define SecurityOrigin_h |
| 31 | 31 |
| 32 #include "platform/PlatformExport.h" | 32 #include "platform/PlatformExport.h" |
| 33 #include "wtf/ThreadSafeRefCounted.h" | 33 #include "wtf/ThreadSafeRefCounted.h" |
| 34 #include "wtf/text/WTFString.h" | 34 #include "wtf/text/WTFString.h" |
| 35 | 35 |
| 36 namespace WebCore { | 36 namespace blink { |
| 37 | 37 |
| 38 class KURL; | 38 class KURL; |
| 39 class SecurityOriginCache; | 39 class SecurityOriginCache; |
| 40 | 40 |
| 41 class PLATFORM_EXPORT SecurityOrigin : public ThreadSafeRefCounted<SecurityOrigi
n> { | 41 class PLATFORM_EXPORT SecurityOrigin : public ThreadSafeRefCounted<SecurityOrigi
n> { |
| 42 public: | 42 public: |
| 43 enum Policy { | 43 enum Policy { |
| 44 AlwaysDeny = 0, | 44 AlwaysDeny = 0, |
| 45 AlwaysAllow, | 45 AlwaysAllow, |
| 46 Ask | 46 Ask |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 String m_filePath; | 218 String m_filePath; |
| 219 unsigned short m_port; | 219 unsigned short m_port; |
| 220 bool m_isUnique; | 220 bool m_isUnique; |
| 221 bool m_universalAccess; | 221 bool m_universalAccess; |
| 222 bool m_domainWasSetInDOM; | 222 bool m_domainWasSetInDOM; |
| 223 bool m_canLoadLocalResources; | 223 bool m_canLoadLocalResources; |
| 224 bool m_enforceFilePathSeparation; | 224 bool m_enforceFilePathSeparation; |
| 225 bool m_needsDatabaseIdentifierQuirkForFiles; | 225 bool m_needsDatabaseIdentifierQuirkForFiles; |
| 226 }; | 226 }; |
| 227 | 227 |
| 228 } // namespace WebCore | 228 } // namespace blink |
| 229 | 229 |
| 230 #endif // SecurityOrigin_h | 230 #endif // SecurityOrigin_h |
| OLD | NEW |