OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2005, 2006, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2005, 2006, 2011 Apple 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 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 112 |
113 OwnPtr<blink::WebURLLoader> m_loader; | 113 OwnPtr<blink::WebURLLoader> m_loader; |
114 RefPtrWillBeMember<ResourceLoaderHost> m_host; | 114 RefPtrWillBeMember<ResourceLoaderHost> m_host; |
115 | 115 |
116 ResourceRequest m_request; | 116 ResourceRequest m_request; |
117 ResourceRequest m_originalRequest; // Before redirects. | 117 ResourceRequest m_originalRequest; // Before redirects. |
118 | 118 |
119 bool m_notifiedLoadComplete; | 119 bool m_notifiedLoadComplete; |
120 | 120 |
121 bool m_defersLoading; | 121 bool m_defersLoading; |
| 122 OwnPtr<ResourceRequest> m_fallbackRequestForServiceWorker; |
122 ResourceRequest m_deferredRequest; | 123 ResourceRequest m_deferredRequest; |
123 ResourceLoaderOptions m_options; | 124 ResourceLoaderOptions m_options; |
124 | 125 |
125 enum ResourceLoaderState { | 126 enum ResourceLoaderState { |
126 Initialized, | 127 Initialized, |
127 Finishing, | 128 Finishing, |
128 Terminated | 129 Terminated |
129 }; | 130 }; |
130 | 131 |
131 enum ConnectionState { | 132 enum ConnectionState { |
(...skipping 12 matching lines...) Expand all Loading... |
144 // Used for sanity checking to make sure we don't experience illegal state | 145 // Used for sanity checking to make sure we don't experience illegal state |
145 // transitions. | 146 // transitions. |
146 ConnectionState m_connectionState; | 147 ConnectionState m_connectionState; |
147 | 148 |
148 OwnPtr<RequestCountTracker> m_requestCountTracker; | 149 OwnPtr<RequestCountTracker> m_requestCountTracker; |
149 }; | 150 }; |
150 | 151 |
151 } | 152 } |
152 | 153 |
153 #endif | 154 #endif |
OLD | NEW |