| 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 // m_securityOrigin. In such a case, build a ResourceLoaderOptions with | 207 // m_securityOrigin. In such a case, build a ResourceLoaderOptions with |
| 208 // up-to-date values from them and this variable, and use it. | 208 // up-to-date values from them and this variable, and use it. |
| 209 const ResourceLoaderOptions m_resourceLoaderOptions; | 209 const ResourceLoaderOptions m_resourceLoaderOptions; |
| 210 | 210 |
| 211 bool m_forceDoNotAllowStoredCredentials; | 211 bool m_forceDoNotAllowStoredCredentials; |
| 212 RefPtr<SecurityOrigin> m_securityOrigin; | 212 RefPtr<SecurityOrigin> m_securityOrigin; |
| 213 | 213 |
| 214 // True while the initial URL and all the URLs of the redirects this object | 214 // True while the initial URL and all the URLs of the redirects this object |
| 215 // has followed, if any, are same-origin to getSecurityOrigin(). | 215 // has followed, if any, are same-origin to getSecurityOrigin(). |
| 216 bool m_sameOriginRequest; | 216 bool m_sameOriginRequest; |
| 217 // Set to true if the current request is cross-origin and not simple. | |
| 218 bool m_crossOriginNonSimpleRequest; | |
| 219 | 217 |
| 220 // Set to true when the response data is given to a data consumer handle. | 218 // Set to true when the response data is given to a data consumer handle. |
| 221 bool m_isUsingDataConsumerHandle; | 219 bool m_isUsingDataConsumerHandle; |
| 222 | 220 |
| 223 const bool m_async; | 221 const bool m_async; |
| 224 | 222 |
| 225 // Holds the original request context (used for sanity checks). | 223 // Holds the original request context (used for sanity checks). |
| 226 WebURLRequest::RequestContext m_requestContext; | 224 WebURLRequest::RequestContext m_requestContext; |
| 227 | 225 |
| 228 // Holds the original request for fallback in case the Service Worker | 226 // Holds the original request for fallback in case the Service Worker |
| (...skipping 24 matching lines...) Expand all Loading... |
| 253 // used to populate the HTTP Referer header when following the redirect. | 251 // used to populate the HTTP Referer header when following the redirect. |
| 254 bool m_didRedirect; | 252 bool m_didRedirect; |
| 255 Referrer m_referrerAfterRedirect; | 253 Referrer m_referrerAfterRedirect; |
| 256 | 254 |
| 257 RawResourceClientStateChecker m_checker; | 255 RawResourceClientStateChecker m_checker; |
| 258 }; | 256 }; |
| 259 | 257 |
| 260 } // namespace blink | 258 } // namespace blink |
| 261 | 259 |
| 262 #endif // DocumentThreadableLoader_h | 260 #endif // DocumentThreadableLoader_h |
| OLD | NEW |