| 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 InputToLoadPerfMetricReportPolicy inputPerfMetricReportPolicy) { | 303 InputToLoadPerfMetricReportPolicy inputPerfMetricReportPolicy) { |
| 304 m_inputPerfMetricReportPolicy = inputPerfMetricReportPolicy; | 304 m_inputPerfMetricReportPolicy = inputPerfMetricReportPolicy; |
| 305 } | 305 } |
| 306 | 306 |
| 307 void setRedirectStatus(RedirectStatus status) { m_redirectStatus = status; } | 307 void setRedirectStatus(RedirectStatus status) { m_redirectStatus = status; } |
| 308 RedirectStatus redirectStatus() const { return m_redirectStatus; } | 308 RedirectStatus redirectStatus() const { return m_redirectStatus; } |
| 309 | 309 |
| 310 void setNavigationStartTime(double); | 310 void setNavigationStartTime(double); |
| 311 double navigationStartTime() const { return m_navigationStart; } | 311 double navigationStartTime() const { return m_navigationStart; } |
| 312 | 312 |
| 313 void setIsSameDocumentNavigation(bool isSameDocument) { |
| 314 m_isSameDocumentNavigation = isSameDocument; |
| 315 } |
| 316 bool isSameDocumentNavigation() const { return m_isSameDocumentNavigation; } |
| 317 |
| 313 private: | 318 private: |
| 314 const CacheControlHeader& cacheControlHeader() const; | 319 const CacheControlHeader& cacheControlHeader() const; |
| 315 | 320 |
| 316 bool needsHTTPOrigin() const; | 321 bool needsHTTPOrigin() const; |
| 317 | 322 |
| 318 KURL m_url; | 323 KURL m_url; |
| 319 WebCachePolicy m_cachePolicy; | 324 WebCachePolicy m_cachePolicy; |
| 320 double m_timeoutInterval; // 0 is a magic value for platform default on | 325 double m_timeoutInterval; // 0 is a magic value for platform default on |
| 321 // platforms that have one. | 326 // platforms that have one. |
| 322 KURL m_firstPartyForCookies; | 327 KURL m_firstPartyForCookies; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 343 WebURLRequest::FrameType m_frameType; | 348 WebURLRequest::FrameType m_frameType; |
| 344 WebURLRequest::FetchRequestMode m_fetchRequestMode; | 349 WebURLRequest::FetchRequestMode m_fetchRequestMode; |
| 345 WebURLRequest::FetchCredentialsMode m_fetchCredentialsMode; | 350 WebURLRequest::FetchCredentialsMode m_fetchCredentialsMode; |
| 346 WebURLRequest::FetchRedirectMode m_fetchRedirectMode; | 351 WebURLRequest::FetchRedirectMode m_fetchRedirectMode; |
| 347 WebURLRequest::LoFiState m_loFiState; | 352 WebURLRequest::LoFiState m_loFiState; |
| 348 ReferrerPolicy m_referrerPolicy; | 353 ReferrerPolicy m_referrerPolicy; |
| 349 bool m_didSetHTTPReferrer; | 354 bool m_didSetHTTPReferrer; |
| 350 bool m_checkForBrowserSideNavigation; | 355 bool m_checkForBrowserSideNavigation; |
| 351 double m_uiStartTime; | 356 double m_uiStartTime; |
| 352 bool m_isExternalRequest; | 357 bool m_isExternalRequest; |
| 358 bool m_isSameDocumentNavigation; |
| 353 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; | 359 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; |
| 354 | 360 |
| 355 mutable CacheControlHeader m_cacheControlHeaderCache; | 361 mutable CacheControlHeader m_cacheControlHeaderCache; |
| 356 | 362 |
| 357 static double s_defaultTimeoutInterval; | 363 static double s_defaultTimeoutInterval; |
| 358 | 364 |
| 359 RedirectStatus m_redirectStatus; | 365 RedirectStatus m_redirectStatus; |
| 360 | 366 |
| 361 double m_navigationStart = 0; | 367 double m_navigationStart = 0; |
| 362 }; | 368 }; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 bool m_checkForBrowserSideNavigation; | 407 bool m_checkForBrowserSideNavigation; |
| 402 double m_uiStartTime; | 408 double m_uiStartTime; |
| 403 bool m_isExternalRequest; | 409 bool m_isExternalRequest; |
| 404 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; | 410 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; |
| 405 ResourceRequest::RedirectStatus m_redirectStatus; | 411 ResourceRequest::RedirectStatus m_redirectStatus; |
| 406 }; | 412 }; |
| 407 | 413 |
| 408 } // namespace blink | 414 } // namespace blink |
| 409 | 415 |
| 410 #endif // ResourceRequest_h | 416 #endif // ResourceRequest_h |
| OLD | NEW |