| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ServiceWorkerScriptCachedMetadataHandler_h | 5 #ifndef ServiceWorkerScriptCachedMetadataHandler_h |
| 6 #define ServiceWorkerScriptCachedMetadataHandler_h | 6 #define ServiceWorkerScriptCachedMetadataHandler_h |
| 7 | 7 |
| 8 #include "core/fetch/CachedMetadataHandler.h" | 8 #include "core/fetch/CachedMetadataHandler.h" |
| 9 #include "platform/heap/Handle.h" |
| 9 #include "platform/weborigin/KURL.h" | 10 #include "platform/weborigin/KURL.h" |
| 10 #include "wtf/PassOwnPtr.h" | 11 #include "wtf/PassOwnPtr.h" |
| 11 #include "wtf/Vector.h" | 12 #include "wtf/Vector.h" |
| 12 | 13 |
| 13 namespace blink { | 14 namespace blink { |
| 14 | 15 |
| 15 class WorkerGlobalScope; | 16 class WorkerGlobalScope; |
| 16 class CachedMetadata; | 17 class CachedMetadata; |
| 17 | 18 |
| 18 class ServiceWorkerScriptCachedMetadataHandler : public CachedMetadataHandler { | 19 class ServiceWorkerScriptCachedMetadataHandler : public CachedMetadataHandler { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 32 ServiceWorkerScriptCachedMetadataHandler(WorkerGlobalScope*, const KURL& scr
iptURL, const Vector<char>* metaData); | 33 ServiceWorkerScriptCachedMetadataHandler(WorkerGlobalScope*, const KURL& scr
iptURL, const Vector<char>* metaData); |
| 33 | 34 |
| 34 RawPtrWillBeMember<WorkerGlobalScope> m_workerGlobalScope; | 35 RawPtrWillBeMember<WorkerGlobalScope> m_workerGlobalScope; |
| 35 KURL m_scriptURL; | 36 KURL m_scriptURL; |
| 36 RefPtr<CachedMetadata> m_cachedMetadata; | 37 RefPtr<CachedMetadata> m_cachedMetadata; |
| 37 }; | 38 }; |
| 38 | 39 |
| 39 } // namespace blink | 40 } // namespace blink |
| 40 | 41 |
| 41 #endif // ServiceWorkerScriptCachedMetadataHandler_h | 42 #endif // ServiceWorkerScriptCachedMetadataHandler_h |
| OLD | NEW |