| 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 m_fetchCredentialsMode = mode; | 264 m_fetchCredentialsMode = mode; |
| 265 } | 265 } |
| 266 | 266 |
| 267 WebURLRequest::FetchRedirectMode fetchRedirectMode() const { | 267 WebURLRequest::FetchRedirectMode fetchRedirectMode() const { |
| 268 return m_fetchRedirectMode; | 268 return m_fetchRedirectMode; |
| 269 } | 269 } |
| 270 void setFetchRedirectMode(WebURLRequest::FetchRedirectMode redirect) { | 270 void setFetchRedirectMode(WebURLRequest::FetchRedirectMode redirect) { |
| 271 m_fetchRedirectMode = redirect; | 271 m_fetchRedirectMode = redirect; |
| 272 } | 272 } |
| 273 | 273 |
| 274 WebURLRequest::LoFiState loFiState() const { return m_loFiState; } | 274 WebURLRequest::PreviewsState previewsState() const { return m_previewsState; } |
| 275 void setLoFiState(WebURLRequest::LoFiState loFiState) { | 275 void setPreviewsState(WebURLRequest::PreviewsState previewsState) { |
| 276 m_loFiState = loFiState; | 276 m_previewsState = previewsState; |
| 277 } | 277 } |
| 278 | 278 |
| 279 bool cacheControlContainsNoCache() const; | 279 bool cacheControlContainsNoCache() const; |
| 280 bool cacheControlContainsNoStore() const; | 280 bool cacheControlContainsNoStore() const; |
| 281 bool hasCacheValidatorFields() const; | 281 bool hasCacheValidatorFields() const; |
| 282 | 282 |
| 283 bool checkForBrowserSideNavigation() const { | 283 bool checkForBrowserSideNavigation() const { |
| 284 return m_checkForBrowserSideNavigation; | 284 return m_checkForBrowserSideNavigation; |
| 285 } | 285 } |
| 286 void setCheckForBrowserSideNavigation(bool check) { | 286 void setCheckForBrowserSideNavigation(bool check) { |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 int m_intraPriorityValue; | 339 int m_intraPriorityValue; |
| 340 int m_requestorID; | 340 int m_requestorID; |
| 341 int m_requestorProcessID; | 341 int m_requestorProcessID; |
| 342 int m_appCacheHostID; | 342 int m_appCacheHostID; |
| 343 RefPtr<ExtraData> m_extraData; | 343 RefPtr<ExtraData> m_extraData; |
| 344 WebURLRequest::RequestContext m_requestContext; | 344 WebURLRequest::RequestContext m_requestContext; |
| 345 WebURLRequest::FrameType m_frameType; | 345 WebURLRequest::FrameType m_frameType; |
| 346 WebURLRequest::FetchRequestMode m_fetchRequestMode; | 346 WebURLRequest::FetchRequestMode m_fetchRequestMode; |
| 347 WebURLRequest::FetchCredentialsMode m_fetchCredentialsMode; | 347 WebURLRequest::FetchCredentialsMode m_fetchCredentialsMode; |
| 348 WebURLRequest::FetchRedirectMode m_fetchRedirectMode; | 348 WebURLRequest::FetchRedirectMode m_fetchRedirectMode; |
| 349 WebURLRequest::LoFiState m_loFiState; | 349 WebURLRequest::PreviewsState m_previewsState; |
| 350 ReferrerPolicy m_referrerPolicy; | 350 ReferrerPolicy m_referrerPolicy; |
| 351 bool m_didSetHTTPReferrer; | 351 bool m_didSetHTTPReferrer; |
| 352 bool m_checkForBrowserSideNavigation; | 352 bool m_checkForBrowserSideNavigation; |
| 353 double m_uiStartTime; | 353 double m_uiStartTime; |
| 354 bool m_isExternalRequest; | 354 bool m_isExternalRequest; |
| 355 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; | 355 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; |
| 356 | 356 |
| 357 mutable CacheControlHeader m_cacheControlHeaderCache; | 357 mutable CacheControlHeader m_cacheControlHeaderCache; |
| 358 | 358 |
| 359 static double s_defaultTimeoutInterval; | 359 static double s_defaultTimeoutInterval; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 390 ResourceLoadPriority m_priority; | 390 ResourceLoadPriority m_priority; |
| 391 int m_intraPriorityValue; | 391 int m_intraPriorityValue; |
| 392 int m_requestorID; | 392 int m_requestorID; |
| 393 int m_requestorProcessID; | 393 int m_requestorProcessID; |
| 394 int m_appCacheHostID; | 394 int m_appCacheHostID; |
| 395 WebURLRequest::RequestContext m_requestContext; | 395 WebURLRequest::RequestContext m_requestContext; |
| 396 WebURLRequest::FrameType m_frameType; | 396 WebURLRequest::FrameType m_frameType; |
| 397 WebURLRequest::FetchRequestMode m_fetchRequestMode; | 397 WebURLRequest::FetchRequestMode m_fetchRequestMode; |
| 398 WebURLRequest::FetchCredentialsMode m_fetchCredentialsMode; | 398 WebURLRequest::FetchCredentialsMode m_fetchCredentialsMode; |
| 399 WebURLRequest::FetchRedirectMode m_fetchRedirectMode; | 399 WebURLRequest::FetchRedirectMode m_fetchRedirectMode; |
| 400 WebURLRequest::LoFiState m_loFiState; | 400 WebURLRequest::PreviewsState m_previewsState; |
| 401 ReferrerPolicy m_referrerPolicy; | 401 ReferrerPolicy m_referrerPolicy; |
| 402 bool m_didSetHTTPReferrer; | 402 bool m_didSetHTTPReferrer; |
| 403 bool m_checkForBrowserSideNavigation; | 403 bool m_checkForBrowserSideNavigation; |
| 404 double m_uiStartTime; | 404 double m_uiStartTime; |
| 405 bool m_isExternalRequest; | 405 bool m_isExternalRequest; |
| 406 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; | 406 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; |
| 407 ResourceRequest::RedirectStatus m_redirectStatus; | 407 ResourceRequest::RedirectStatus m_redirectStatus; |
| 408 }; | 408 }; |
| 409 | 409 |
| 410 } // namespace blink | 410 } // namespace blink |
| 411 | 411 |
| 412 #endif // ResourceRequest_h | 412 #endif // ResourceRequest_h |
| OLD | NEW |