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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 m_skipServiceWorker = false; | 422 m_skipServiceWorker = false; |
423 m_shouldResetAppCache = false; | 423 m_shouldResetAppCache = false; |
424 m_priority = ResourceLoadPriorityLowest; | 424 m_priority = ResourceLoadPriorityLowest; |
425 m_intraPriorityValue = 0; | 425 m_intraPriorityValue = 0; |
426 m_requestorID = 0; | 426 m_requestorID = 0; |
427 m_requestorProcessID = 0; | 427 m_requestorProcessID = 0; |
428 m_appCacheHostID = 0; | 428 m_appCacheHostID = 0; |
429 m_requestContext = WebURLRequest::RequestContextUnspecified; | 429 m_requestContext = WebURLRequest::RequestContextUnspecified; |
430 m_frameType = WebURLRequest::FrameTypeNone; | 430 m_frameType = WebURLRequest::FrameTypeNone; |
431 m_fetchRequestMode = WebURLRequest::FetchRequestModeNoCORS; | 431 m_fetchRequestMode = WebURLRequest::FetchRequestModeNoCORS; |
432 // Contrary to the Fetch spec, we default to same-origin mode here, and deal | 432 m_fetchCredentialsMode = WebURLRequest::FetchCredentialsModeInclude; |
433 // with CORS modes in updateRequestForAccessControl if we're called in a | |
434 // context which requires it. | |
435 m_fetchCredentialsMode = WebURLRequest::FetchCredentialsModeSameOrigin; | |
436 m_fetchRedirectMode = WebURLRequest::FetchRedirectModeFollow; | 433 m_fetchRedirectMode = WebURLRequest::FetchRedirectModeFollow; |
437 m_referrerPolicy = ReferrerPolicyDefault; | 434 m_referrerPolicy = ReferrerPolicyDefault; |
438 m_loFiState = WebURLRequest::LoFiUnspecified; | 435 m_loFiState = WebURLRequest::LoFiUnspecified; |
439 m_didSetHTTPReferrer = false; | 436 m_didSetHTTPReferrer = false; |
440 m_checkForBrowserSideNavigation = true; | 437 m_checkForBrowserSideNavigation = true; |
441 m_uiStartTime = 0; | 438 m_uiStartTime = 0; |
442 m_originatesFromReservedIPRange = false; | 439 m_originatesFromReservedIPRange = false; |
443 m_inputPerfMetricReportPolicy = InputToLoadPerfMetricReportPolicy::NoReport; | 440 m_inputPerfMetricReportPolicy = InputToLoadPerfMetricReportPolicy::NoReport; |
444 m_followedRedirect = false; | 441 m_followedRedirect = false; |
445 m_requestorOrigin = SecurityOrigin::createUnique(); | 442 m_requestorOrigin = SecurityOrigin::createUnique(); |
446 } | 443 } |
447 | 444 |
448 } // namespace blink | 445 } // namespace blink |
OLD | NEW |