| 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 | 265 |
| 266 SecurityOrigin(); | 266 SecurityOrigin(); |
| 267 explicit SecurityOrigin(const KURL&); | 267 explicit SecurityOrigin(const KURL&); |
| 268 explicit SecurityOrigin(const SecurityOrigin*); | 268 explicit SecurityOrigin(const SecurityOrigin*); |
| 269 | 269 |
| 270 // FIXME: Rename this function to something more semantic. | 270 // FIXME: Rename this function to something more semantic. |
| 271 bool passesFileCheck(const SecurityOrigin*) const; | 271 bool passesFileCheck(const SecurityOrigin*) const; |
| 272 void buildRawString(StringBuilder&, bool includeSuborigin) const; | 272 void buildRawString(StringBuilder&, bool includeSuborigin) const; |
| 273 | 273 |
| 274 String toRawStringIgnoreSuborigin() const; | 274 String toRawStringIgnoreSuborigin() const; |
| 275 static bool deserializeSuboriginAndHost(const String&, String&, String&); | 275 static bool deserializeSuboriginAndProtocolAndHost(const String&, const Stri
ng&, String&, String&, String&); |
| 276 | 276 |
| 277 String m_protocol; | 277 String m_protocol; |
| 278 String m_host; | 278 String m_host; |
| 279 String m_domain; | 279 String m_domain; |
| 280 Suborigin m_suborigin; | 280 Suborigin m_suborigin; |
| 281 unsigned short m_port; | 281 unsigned short m_port; |
| 282 unsigned short m_effectivePort; | 282 unsigned short m_effectivePort; |
| 283 bool m_isUnique; | 283 bool m_isUnique; |
| 284 bool m_universalAccess; | 284 bool m_universalAccess; |
| 285 bool m_domainWasSetInDOM; | 285 bool m_domainWasSetInDOM; |
| 286 bool m_canLoadLocalResources; | 286 bool m_canLoadLocalResources; |
| 287 bool m_blockLocalAccessFromLocalOrigin; | 287 bool m_blockLocalAccessFromLocalOrigin; |
| 288 bool m_isUniqueOriginPotentiallyTrustworthy; | 288 bool m_isUniqueOriginPotentiallyTrustworthy; |
| 289 }; | 289 }; |
| 290 | 290 |
| 291 } // namespace blink | 291 } // namespace blink |
| 292 | 292 |
| 293 #endif // SecurityOrigin_h | 293 #endif // SecurityOrigin_h |
| OLD | NEW |