OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
3 * Copyright (C) 2013, Intel Corporation | 3 * Copyright (C) 2013, Intel Corporation |
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 are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
47 #include <memory> | 47 #include <memory> |
48 | 48 |
49 namespace blink { | 49 namespace blink { |
50 | 50 |
51 class Document; | 51 class Document; |
52 class KURL; | 52 class KURL; |
53 class ResourceRequest; | 53 class ResourceRequest; |
54 class SecurityOrigin; | 54 class SecurityOrigin; |
55 class ThreadableLoaderClient; | 55 class ThreadableLoaderClient; |
56 | 56 |
57 class CORE_EXPORT DocumentThreadableLoader final : public ThreadableLoader, priv ate ResourceOwner<RawResource> { | 57 class CORE_EXPORT DocumentThreadableLoader final : public ThreadableLoader, publ ic ResourceOwner<RawResource> { |
Nate Chapin
2016/08/03 19:37:01
I don't immediately see why private->public is nec
yhirano
2016/08/09 07:16:44
I thought it necessary, but it's apparently not. R
| |
58 USING_GARBAGE_COLLECTED_MIXIN(DocumentThreadableLoader); | 58 USING_GARBAGE_COLLECTED_MIXIN(DocumentThreadableLoader); |
59 public: | 59 public: |
60 static void loadResourceSynchronously(Document&, const ResourceRequest&, ThreadableLoaderClient&, const ThreadableLoaderOptions&, const ResourceLoaderOp tions&); | 60 static void loadResourceSynchronously(Document&, const ResourceRequest&, ThreadableLoaderClient&, const ThreadableLoaderOptions&, const ResourceLoaderOp tions&); |
61 static DocumentThreadableLoader* create(Document&, ThreadableLoaderClien t*, const ThreadableLoaderOptions&, const ResourceLoaderOptions&); | 61 static DocumentThreadableLoader* create(Document&, ThreadableLoaderClien t*, const ThreadableLoaderOptions&, const ResourceLoaderOptions&); |
62 ~DocumentThreadableLoader() override; | 62 ~DocumentThreadableLoader() override; |
63 | 63 |
64 void start(const ResourceRequest&) override; | 64 void start(const ResourceRequest&) override; |
65 | 65 |
66 void overrideTimeout(unsigned long timeout) override; | 66 void overrideTimeout(unsigned long timeout) override; |
67 | 67 |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
209 // header when following the redirect. | 209 // header when following the redirect. |
210 bool m_didRedirect; | 210 bool m_didRedirect; |
211 Referrer m_referrerAfterRedirect; | 211 Referrer m_referrerAfterRedirect; |
212 | 212 |
213 WeakPtrFactory<DocumentThreadableLoader> m_weakFactory; | 213 WeakPtrFactory<DocumentThreadableLoader> m_weakFactory; |
214 }; | 214 }; |
215 | 215 |
216 } // namespace blink | 216 } // namespace blink |
217 | 217 |
218 #endif // DocumentThreadableLoader_h | 218 #endif // DocumentThreadableLoader_h |
OLD | NEW |