OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. |
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
4 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 4 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 | 202 |
203 WebURLRequest::FrameType frameType() const { return m_frameType; } | 203 WebURLRequest::FrameType frameType() const { return m_frameType; } |
204 void setFrameType(WebURLRequest::FrameType frameType) { m_frameType = frameT
ype; } | 204 void setFrameType(WebURLRequest::FrameType frameType) { m_frameType = frameT
ype; } |
205 | 205 |
206 WebURLRequest::FetchRequestMode fetchRequestMode() const { return m_fetchReq
uestMode; } | 206 WebURLRequest::FetchRequestMode fetchRequestMode() const { return m_fetchReq
uestMode; } |
207 void setFetchRequestMode(WebURLRequest::FetchRequestMode mode) { m_fetchRequ
estMode = mode; } | 207 void setFetchRequestMode(WebURLRequest::FetchRequestMode mode) { m_fetchRequ
estMode = mode; } |
208 | 208 |
209 WebURLRequest::FetchCredentialsMode fetchCredentialsMode() const { return m_
fetchCredentialsMode; } | 209 WebURLRequest::FetchCredentialsMode fetchCredentialsMode() const { return m_
fetchCredentialsMode; } |
210 void setFetchCredentialsMode(WebURLRequest::FetchCredentialsMode mode) { m_f
etchCredentialsMode = mode; } | 210 void setFetchCredentialsMode(WebURLRequest::FetchCredentialsMode mode) { m_f
etchCredentialsMode = mode; } |
211 | 211 |
| 212 WebURLRequest::FetchRedirectMode fetchRedirectMode() const { return m_fetchR
edirectMode; } |
| 213 void setFetchRedirectMode(WebURLRequest::FetchRedirectMode redirect) { m_fet
chRedirectMode = redirect; } |
| 214 |
212 bool cacheControlContainsNoCache() const; | 215 bool cacheControlContainsNoCache() const; |
213 bool cacheControlContainsNoStore() const; | 216 bool cacheControlContainsNoStore() const; |
214 bool hasCacheValidatorFields() const; | 217 bool hasCacheValidatorFields() const; |
215 | 218 |
216 static bool compare(const ResourceRequest&, const ResourceRequest&); | 219 static bool compare(const ResourceRequest&, const ResourceRequest&); |
217 | 220 |
218 bool checkForBrowserSideNavigation() const { return m_checkForBrowserSideNav
igation; } | 221 bool checkForBrowserSideNavigation() const { return m_checkForBrowserSideNav
igation; } |
219 void setCheckForBrowserSideNavigation(bool check) { m_checkForBrowserSideNav
igation = check; } | 222 void setCheckForBrowserSideNavigation(bool check) { m_checkForBrowserSideNav
igation = check; } |
220 | 223 |
221 double uiStartTime() const { return m_uiStartTime; } | 224 double uiStartTime() const { return m_uiStartTime; } |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 ResourceLoadPriority m_priority; | 257 ResourceLoadPriority m_priority; |
255 int m_intraPriorityValue; | 258 int m_intraPriorityValue; |
256 int m_requestorID; | 259 int m_requestorID; |
257 int m_requestorProcessID; | 260 int m_requestorProcessID; |
258 int m_appCacheHostID; | 261 int m_appCacheHostID; |
259 RefPtr<ExtraData> m_extraData; | 262 RefPtr<ExtraData> m_extraData; |
260 WebURLRequest::RequestContext m_requestContext; | 263 WebURLRequest::RequestContext m_requestContext; |
261 WebURLRequest::FrameType m_frameType; | 264 WebURLRequest::FrameType m_frameType; |
262 WebURLRequest::FetchRequestMode m_fetchRequestMode; | 265 WebURLRequest::FetchRequestMode m_fetchRequestMode; |
263 WebURLRequest::FetchCredentialsMode m_fetchCredentialsMode; | 266 WebURLRequest::FetchCredentialsMode m_fetchCredentialsMode; |
| 267 WebURLRequest::FetchRedirectMode m_fetchRedirectMode; |
264 ReferrerPolicy m_referrerPolicy; | 268 ReferrerPolicy m_referrerPolicy; |
265 bool m_didSetHTTPReferrer; | 269 bool m_didSetHTTPReferrer; |
266 bool m_checkForBrowserSideNavigation; | 270 bool m_checkForBrowserSideNavigation; |
267 double m_uiStartTime; | 271 double m_uiStartTime; |
268 bool m_originatesFromReservedIPRange; | 272 bool m_originatesFromReservedIPRange; |
269 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; | 273 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; |
270 | 274 |
271 mutable CacheControlHeader m_cacheControlHeaderCache; | 275 mutable CacheControlHeader m_cacheControlHeaderCache; |
272 | 276 |
273 static double s_defaultTimeoutInterval; | 277 static double s_defaultTimeoutInterval; |
(...skipping 29 matching lines...) Expand all Loading... |
303 bool m_shouldResetAppCache; | 307 bool m_shouldResetAppCache; |
304 ResourceLoadPriority m_priority; | 308 ResourceLoadPriority m_priority; |
305 int m_intraPriorityValue; | 309 int m_intraPriorityValue; |
306 int m_requestorID; | 310 int m_requestorID; |
307 int m_requestorProcessID; | 311 int m_requestorProcessID; |
308 int m_appCacheHostID; | 312 int m_appCacheHostID; |
309 WebURLRequest::RequestContext m_requestContext; | 313 WebURLRequest::RequestContext m_requestContext; |
310 WebURLRequest::FrameType m_frameType; | 314 WebURLRequest::FrameType m_frameType; |
311 WebURLRequest::FetchRequestMode m_fetchRequestMode; | 315 WebURLRequest::FetchRequestMode m_fetchRequestMode; |
312 WebURLRequest::FetchCredentialsMode m_fetchCredentialsMode; | 316 WebURLRequest::FetchCredentialsMode m_fetchCredentialsMode; |
| 317 WebURLRequest::FetchRedirectMode m_fetchRedirectMode; |
313 ReferrerPolicy m_referrerPolicy; | 318 ReferrerPolicy m_referrerPolicy; |
314 bool m_didSetHTTPReferrer; | 319 bool m_didSetHTTPReferrer; |
315 bool m_checkForBrowserSideNavigation; | 320 bool m_checkForBrowserSideNavigation; |
316 double m_uiStartTime; | 321 double m_uiStartTime; |
317 bool m_originatesFromReservedIPRange; | 322 bool m_originatesFromReservedIPRange; |
318 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; | 323 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; |
319 bool m_followedRedirect; | 324 bool m_followedRedirect; |
320 }; | 325 }; |
321 | 326 |
322 } // namespace blink | 327 } // namespace blink |
323 | 328 |
324 #endif // ResourceRequest_h | 329 #endif // ResourceRequest_h |
OLD | NEW |