| 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 ResourceRequest m_fallbackRequestForServiceWorker; | 213 ResourceRequest m_fallbackRequestForServiceWorker; |
| 214 | 214 |
| 215 // Holds the original request and options for it during preflight request | 215 // Holds the original request and options for it during preflight request |
| 216 // handling phase. | 216 // handling phase. |
| 217 ResourceRequest m_actualRequest; | 217 ResourceRequest m_actualRequest; |
| 218 ResourceLoaderOptions m_actualOptions; | 218 ResourceLoaderOptions m_actualOptions; |
| 219 | 219 |
| 220 // stores request headers in case of a cross-origin redirect. | 220 // stores request headers in case of a cross-origin redirect. |
| 221 HTTPHeaderMap m_requestHeaders; | 221 HTTPHeaderMap m_requestHeaders; |
| 222 | 222 |
| 223 Timer<DocumentThreadableLoader> m_timeoutTimer; | 223 TaskRunnerTimer<DocumentThreadableLoader> m_timeoutTimer; |
| 224 double | 224 double |
| 225 m_requestStartedSeconds; // Time an asynchronous fetch request is started | 225 m_requestStartedSeconds; // Time an asynchronous fetch request is started |
| 226 | 226 |
| 227 // Max number of times that this DocumentThreadableLoader can follow | 227 // Max number of times that this DocumentThreadableLoader can follow |
| 228 // cross-origin redirects. This is used to limit the number of redirects. But | 228 // cross-origin redirects. This is used to limit the number of redirects. But |
| 229 // this value is not the max number of total redirects allowed, because | 229 // this value is not the max number of total redirects allowed, because |
| 230 // same-origin redirects are not counted here. | 230 // same-origin redirects are not counted here. |
| 231 int m_corsRedirectLimit; | 231 int m_corsRedirectLimit; |
| 232 | 232 |
| 233 WebURLRequest::FetchRedirectMode m_redirectMode; | 233 WebURLRequest::FetchRedirectMode m_redirectMode; |
| 234 | 234 |
| 235 // Holds the referrer after a redirect response was received. This referrer is | 235 // Holds the referrer after a redirect response was received. This referrer is |
| 236 // used to populate the HTTP Referer header when following the redirect. | 236 // used to populate the HTTP Referer header when following the redirect. |
| 237 bool m_overrideReferrer; | 237 bool m_overrideReferrer; |
| 238 Referrer m_referrerAfterRedirect; | 238 Referrer m_referrerAfterRedirect; |
| 239 | 239 |
| 240 RawResourceClientStateChecker m_checker; | 240 RawResourceClientStateChecker m_checker; |
| 241 }; | 241 }; |
| 242 | 242 |
| 243 } // namespace blink | 243 } // namespace blink |
| 244 | 244 |
| 245 #endif // DocumentThreadableLoader_h | 245 #endif // DocumentThreadableLoader_h |
| OLD | NEW |