OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 WebAssociatedURLLoaderImpl_h | 5 #ifndef WebAssociatedURLLoaderImpl_h |
6 #define WebAssociatedURLLoaderImpl_h | 6 #define WebAssociatedURLLoaderImpl_h |
7 | 7 |
| 8 #include <memory> |
8 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
9 #include "public/web/WebAssociatedURLLoader.h" | 10 #include "public/web/WebAssociatedURLLoader.h" |
10 #include "public/web/WebAssociatedURLLoaderOptions.h" | 11 #include "public/web/WebAssociatedURLLoaderOptions.h" |
11 #include "wtf/Noncopyable.h" | 12 #include "wtf/Noncopyable.h" |
12 #include "wtf/RefPtr.h" | 13 #include "wtf/RefPtr.h" |
13 #include <memory> | |
14 | 14 |
15 namespace blink { | 15 namespace blink { |
16 | 16 |
17 class DocumentThreadableLoader; | 17 class DocumentThreadableLoader; |
18 class WebAssociatedURLLoaderClient; | 18 class WebAssociatedURLLoaderClient; |
19 class WebLocalFrameImpl; | 19 class WebLocalFrameImpl; |
20 | 20 |
21 // This class is used to implement WebFrame::createAssociatedURLLoader. | 21 // This class is used to implement WebFrame::createAssociatedURLLoader. |
22 class WebAssociatedURLLoaderImpl final : public WebAssociatedURLLoader { | 22 class WebAssociatedURLLoaderImpl final : public WebAssociatedURLLoader { |
23 WTF_MAKE_NONCOPYABLE(WebAssociatedURLLoaderImpl); | 23 WTF_MAKE_NONCOPYABLE(WebAssociatedURLLoaderImpl); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 Persistent<DocumentThreadableLoader> m_loader; | 62 Persistent<DocumentThreadableLoader> m_loader; |
63 | 63 |
64 // A ContextLifecycleObserver for cancelling |m_loader| when the Document | 64 // A ContextLifecycleObserver for cancelling |m_loader| when the Document |
65 // is detached. | 65 // is detached. |
66 Persistent<Observer> m_observer; | 66 Persistent<Observer> m_observer; |
67 }; | 67 }; |
68 | 68 |
69 } // namespace blink | 69 } // namespace blink |
70 | 70 |
71 #endif | 71 #endif |
OLD | NEW |