| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 WebSecurityOrigin WebSecurityOrigin::createFromDatabaseIdentifier(const WebStrin
g& databaseIdentifier) | 46 WebSecurityOrigin WebSecurityOrigin::createFromDatabaseIdentifier(const WebStrin
g& databaseIdentifier) |
| 47 { | 47 { |
| 48 return WebSecurityOrigin(createSecurityOriginFromDatabaseIdentifier(database
Identifier)); | 48 return WebSecurityOrigin(createSecurityOriginFromDatabaseIdentifier(database
Identifier)); |
| 49 } | 49 } |
| 50 | 50 |
| 51 WebSecurityOrigin WebSecurityOrigin::createFromString(const WebString& origin) | 51 WebSecurityOrigin WebSecurityOrigin::createFromString(const WebString& origin) |
| 52 { | 52 { |
| 53 return WebSecurityOrigin(SecurityOrigin::createFromString(origin)); | 53 return WebSecurityOrigin(SecurityOrigin::createFromString(origin)); |
| 54 } | 54 } |
| 55 | 55 |
| 56 WebSecurityOrigin WebSecurityOrigin::createUnique() |
| 57 { |
| 58 return WebSecurityOrigin(SecurityOrigin::createUnique()); |
| 59 } |
| 60 |
| 56 WebSecurityOrigin WebSecurityOrigin::create(const WebURL& url) | 61 WebSecurityOrigin WebSecurityOrigin::create(const WebURL& url) |
| 57 { | 62 { |
| 58 return WebSecurityOrigin(SecurityOrigin::create(url)); | 63 return WebSecurityOrigin(SecurityOrigin::create(url)); |
| 59 } | 64 } |
| 60 | 65 |
| 61 void WebSecurityOrigin::reset() | 66 void WebSecurityOrigin::reset() |
| 62 { | 67 { |
| 63 assign(0); | 68 assign(0); |
| 64 } | 69 } |
| 65 | 70 |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 m_private->deref(); | 168 m_private->deref(); |
| 164 m_private = p; | 169 m_private = p; |
| 165 } | 170 } |
| 166 | 171 |
| 167 void WebSecurityOrigin::grantLoadLocalResources() const | 172 void WebSecurityOrigin::grantLoadLocalResources() const |
| 168 { | 173 { |
| 169 get()->grantLoadLocalResources(); | 174 get()->grantLoadLocalResources(); |
| 170 } | 175 } |
| 171 | 176 |
| 172 } // namespace blink | 177 } // namespace blink |
| OLD | NEW |