Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(446)

Side by Side Diff: Source/core/loader/DocumentThreadableLoader.h

Issue 1280733002: [3/3 blink] Support redirect option of Request and "opaqueredirect" response type. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@Redirect1
Patch Set: add comment Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698