| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Motorola Mobility Inc. | 2 * Copyright (C) 2012 Motorola Mobility Inc. |
| 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 10 matching lines...) Expand all Loading... |
| 21 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef PublicURLManager_h | 26 #ifndef PublicURLManager_h |
| 27 #define PublicURLManager_h | 27 #define PublicURLManager_h |
| 28 | 28 |
| 29 #include "core/dom/ContextLifecycleObserver.h" | 29 #include "core/dom/ContextLifecycleObserver.h" |
| 30 #include "platform/heap/Handle.h" | 30 #include "platform/heap/Handle.h" |
| 31 #include "wtf/HashMap.h" | 31 #include "platform/wtf/HashMap.h" |
| 32 #include "wtf/text/WTFString.h" | 32 #include "platform/wtf/text/WTFString.h" |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 | 35 |
| 36 class KURL; | 36 class KURL; |
| 37 class ExecutionContext; | 37 class ExecutionContext; |
| 38 class URLRegistry; | 38 class URLRegistry; |
| 39 class URLRegistrable; | 39 class URLRegistrable; |
| 40 | 40 |
| 41 class PublicURLManager final | 41 class PublicURLManager final |
| 42 : public GarbageCollectedFinalized<PublicURLManager>, | 42 : public GarbageCollectedFinalized<PublicURLManager>, |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 // each of the URLs. | 77 // each of the URLs. |
| 78 typedef HashMap<URLRegistry*, URLMap> RegistryURLMap; | 78 typedef HashMap<URLRegistry*, URLMap> RegistryURLMap; |
| 79 | 79 |
| 80 RegistryURLMap registry_to_url_; | 80 RegistryURLMap registry_to_url_; |
| 81 bool is_stopped_; | 81 bool is_stopped_; |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 } // namespace blink | 84 } // namespace blink |
| 85 | 85 |
| 86 #endif // PublicURLManager_h | 86 #endif // PublicURLManager_h |
| OLD | NEW |