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 <stdint.h> |
8 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
9 #include "platform/loader/fetch/CachedMetadataHandler.h" | 10 #include "platform/loader/fetch/CachedMetadataHandler.h" |
10 #include "platform/weborigin/KURL.h" | 11 #include "platform/weborigin/KURL.h" |
11 #include "wtf/Vector.h" | 12 #include "wtf/Vector.h" |
12 #include <stdint.h> | |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
15 | 15 |
16 class WorkerGlobalScope; | 16 class WorkerGlobalScope; |
17 class CachedMetadata; | 17 class CachedMetadata; |
18 | 18 |
19 class ServiceWorkerScriptCachedMetadataHandler : public CachedMetadataHandler { | 19 class ServiceWorkerScriptCachedMetadataHandler : public CachedMetadataHandler { |
20 public: | 20 public: |
21 static ServiceWorkerScriptCachedMetadataHandler* create( | 21 static ServiceWorkerScriptCachedMetadataHandler* create( |
22 WorkerGlobalScope* workerGlobalScope, | 22 WorkerGlobalScope* workerGlobalScope, |
(...skipping 18 matching lines...) Expand all Loading... |
41 const Vector<char>* metaData); | 41 const Vector<char>* metaData); |
42 | 42 |
43 Member<WorkerGlobalScope> m_workerGlobalScope; | 43 Member<WorkerGlobalScope> m_workerGlobalScope; |
44 KURL m_scriptURL; | 44 KURL m_scriptURL; |
45 RefPtr<CachedMetadata> m_cachedMetadata; | 45 RefPtr<CachedMetadata> m_cachedMetadata; |
46 }; | 46 }; |
47 | 47 |
48 } // namespace blink | 48 } // namespace blink |
49 | 49 |
50 #endif // ServiceWorkerScriptCachedMetadataHandler_h | 50 #endif // ServiceWorkerScriptCachedMetadataHandler_h |
OLD | NEW |