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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 HTTPHeaderMap m_simpleRequestHeaders; // stores simple request headers i
n case of a cross-origin redirect. | 163 HTTPHeaderMap m_simpleRequestHeaders; // stores simple request headers i
n case of a cross-origin redirect. |
164 Timer<DocumentThreadableLoader> m_timeoutTimer; | 164 Timer<DocumentThreadableLoader> m_timeoutTimer; |
165 double m_requestStartedSeconds; // Time an asynchronous fetch request is
started | 165 double m_requestStartedSeconds; // Time an asynchronous fetch request is
started |
166 | 166 |
167 // Max number of times that this DocumentThreadableLoader can follow | 167 // Max number of times that this DocumentThreadableLoader can follow |
168 // cross-origin redirects. | 168 // cross-origin redirects. |
169 // This is used to limit the number of redirects. | 169 // This is used to limit the number of redirects. |
170 // But this value is not the max number of total redirects allowed, | 170 // But this value is not the max number of total redirects allowed, |
171 // because same-origin redirects are not counted here. | 171 // because same-origin redirects are not counted here. |
172 int m_corsRedirectLimit; | 172 int m_corsRedirectLimit; |
| 173 |
| 174 const WebURLRequest::FetchRedirectMode m_redirectMode; |
173 }; | 175 }; |
174 | 176 |
175 } // namespace blink | 177 } // namespace blink |
176 | 178 |
177 #endif // DocumentThreadableLoader_h | 179 #endif // DocumentThreadableLoader_h |
OLD | NEW |