| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Motorola Mobility Inc. | 2 * Copyright (C) 2012 Motorola Mobility Inc. |
| 3 * Copyright (C) 2013 Google Inc. All Rights Reserved. | 3 * Copyright (C) 2013 Google Inc. All Rights Reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #include "core/html/PublicURLManager.h" | 27 #include "core/html/PublicURLManager.h" |
| 28 | 28 |
| 29 #include "core/html/URLRegistry.h" | 29 #include "core/html/URLRegistry.h" |
| 30 #include "platform/blob/BlobURL.h" | 30 #include "platform/blob/BlobURL.h" |
| 31 #include "platform/weborigin/KURL.h" | 31 #include "platform/weborigin/KURL.h" |
| 32 #include "wtf/Vector.h" | 32 #include "platform/wtf/Vector.h" |
| 33 #include "wtf/text/StringHash.h" | 33 #include "platform/wtf/text/StringHash.h" |
| 34 | 34 |
| 35 namespace blink { | 35 namespace blink { |
| 36 | 36 |
| 37 class SecurityOrigin; | 37 class SecurityOrigin; |
| 38 | 38 |
| 39 PublicURLManager* PublicURLManager::Create(ExecutionContext* context) { | 39 PublicURLManager* PublicURLManager::Create(ExecutionContext* context) { |
| 40 return new PublicURLManager(context); | 40 return new PublicURLManager(context); |
| 41 } | 41 } |
| 42 | 42 |
| 43 PublicURLManager::PublicURLManager(ExecutionContext* context) | 43 PublicURLManager::PublicURLManager(ExecutionContext* context) |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 } | 103 } |
| 104 | 104 |
| 105 registry_to_url_.Clear(); | 105 registry_to_url_.Clear(); |
| 106 } | 106 } |
| 107 | 107 |
| 108 DEFINE_TRACE(PublicURLManager) { | 108 DEFINE_TRACE(PublicURLManager) { |
| 109 ContextLifecycleObserver::Trace(visitor); | 109 ContextLifecycleObserver::Trace(visitor); |
| 110 } | 110 } |
| 111 | 111 |
| 112 } // namespace blink | 112 } // namespace blink |
| OLD | NEW |