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) 2009, 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
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 | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 m_skipServiceWorker = false; | 446 m_skipServiceWorker = false; |
447 m_shouldResetAppCache = false; | 447 m_shouldResetAppCache = false; |
448 m_priority = ResourceLoadPriorityLowest; | 448 m_priority = ResourceLoadPriorityLowest; |
449 m_intraPriorityValue = 0; | 449 m_intraPriorityValue = 0; |
450 m_requestorID = 0; | 450 m_requestorID = 0; |
451 m_requestorProcessID = 0; | 451 m_requestorProcessID = 0; |
452 m_appCacheHostID = 0; | 452 m_appCacheHostID = 0; |
453 m_requestContext = WebURLRequest::RequestContextUnspecified; | 453 m_requestContext = WebURLRequest::RequestContextUnspecified; |
454 m_frameType = WebURLRequest::FrameTypeNone; | 454 m_frameType = WebURLRequest::FrameTypeNone; |
455 m_fetchRequestMode = WebURLRequest::FetchRequestModeNoCORS; | 455 m_fetchRequestMode = WebURLRequest::FetchRequestModeNoCORS; |
456 // Contrary to the Fetch spec, we default to same-origin mode here, and deal | 456 m_fetchCredentialsMode = WebURLRequest::FetchCredentialsModeInclude; |
457 // with CORS modes in updateRequestForAccessControl if we're called in a | |
458 // context which requires it. | |
459 m_fetchCredentialsMode = WebURLRequest::FetchCredentialsModeSameOrigin; | |
460 m_fetchRedirectMode = WebURLRequest::FetchRedirectModeFollow; | 457 m_fetchRedirectMode = WebURLRequest::FetchRedirectModeFollow; |
461 m_referrerPolicy = ReferrerPolicyDefault; | 458 m_referrerPolicy = ReferrerPolicyDefault; |
462 m_loFiState = WebURLRequest::LoFiUnspecified; | 459 m_loFiState = WebURLRequest::LoFiUnspecified; |
463 m_didSetHTTPReferrer = false; | 460 m_didSetHTTPReferrer = false; |
464 m_checkForBrowserSideNavigation = true; | 461 m_checkForBrowserSideNavigation = true; |
465 m_uiStartTime = 0; | 462 m_uiStartTime = 0; |
466 m_isExternalRequest = false; | 463 m_isExternalRequest = false; |
467 m_inputPerfMetricReportPolicy = InputToLoadPerfMetricReportPolicy::NoReport; | 464 m_inputPerfMetricReportPolicy = InputToLoadPerfMetricReportPolicy::NoReport; |
468 m_followedRedirect = false; | 465 m_followedRedirect = false; |
469 m_requestorOrigin = SecurityOrigin::createUnique(); | 466 m_requestorOrigin = SecurityOrigin::createUnique(); |
470 } | 467 } |
471 | 468 |
472 } // namespace blink | 469 } // namespace blink |
OLD | NEW |