| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google, Inc. All rights reserved. | 2 * Copyright (C) 2012 Google, Inc. All rights reserved. |
| 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef FetchRequest_h | 26 #ifndef FetchRequest_h |
| 27 #define FetchRequest_h | 27 #define FetchRequest_h |
| 28 | 28 |
| 29 #include "core/dom/Element.h" | 29 #include "core/dom/Element.h" |
| 30 #include "core/fetch/FetchInitiatorInfo.h" | 30 #include "core/fetch/FetchInitiatorInfo.h" |
| 31 #include "core/fetch/ResourceLoaderOptions.h" | 31 #include "core/fetch/ResourceLoaderOptions.h" |
| 32 #include "core/platform/network/ResourceLoadPriority.h" | 32 #include "platform/network/ResourceLoadPriority.h" |
| 33 #include "core/platform/network/ResourceRequest.h" | 33 #include "platform/network/ResourceRequest.h" |
| 34 #include "wtf/text/AtomicString.h" | 34 #include "wtf/text/AtomicString.h" |
| 35 | 35 |
| 36 namespace WebCore { | 36 namespace WebCore { |
| 37 class SecurityOrigin; | 37 class SecurityOrigin; |
| 38 | 38 |
| 39 class FetchRequest { | 39 class FetchRequest { |
| 40 public: | 40 public: |
| 41 enum DeferOption { NoDefer, DeferredByClient }; | 41 enum DeferOption { NoDefer, DeferredByClient }; |
| 42 | 42 |
| 43 explicit FetchRequest(const ResourceRequest&, const AtomicString& initiator,
const String& charset = String(), ResourceLoadPriority = ResourceLoadPriorityUn
resolved); | 43 explicit FetchRequest(const ResourceRequest&, const AtomicString& initiator,
const String& charset = String(), ResourceLoadPriority = ResourceLoadPriorityUn
resolved); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 65 String m_charset; | 65 String m_charset; |
| 66 ResourceLoaderOptions m_options; | 66 ResourceLoaderOptions m_options; |
| 67 ResourceLoadPriority m_priority; | 67 ResourceLoadPriority m_priority; |
| 68 bool m_forPreload; | 68 bool m_forPreload; |
| 69 DeferOption m_defer; | 69 DeferOption m_defer; |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 } // namespace WebCore | 72 } // namespace WebCore |
| 73 | 73 |
| 74 #endif | 74 #endif |
| OLD | NEW |