| 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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 { | 388 { |
| 389 m_url = url; | 389 m_url = url; |
| 390 m_cachePolicy = cachePolicy; | 390 m_cachePolicy = cachePolicy; |
| 391 m_timeoutInterval = s_defaultTimeoutInterval; | 391 m_timeoutInterval = s_defaultTimeoutInterval; |
| 392 m_httpMethod = "GET"; | 392 m_httpMethod = "GET"; |
| 393 m_allowStoredCredentials = true; | 393 m_allowStoredCredentials = true; |
| 394 m_reportUploadProgress = false; | 394 m_reportUploadProgress = false; |
| 395 m_reportRawHeaders = false; | 395 m_reportRawHeaders = false; |
| 396 m_hasUserGesture = false; | 396 m_hasUserGesture = false; |
| 397 m_downloadToFile = false; | 397 m_downloadToFile = false; |
| 398 m_skipServiceWorker = false; |
| 398 m_priority = ResourceLoadPriorityLow; | 399 m_priority = ResourceLoadPriorityLow; |
| 399 m_intraPriorityValue = 0; | 400 m_intraPriorityValue = 0; |
| 400 m_requestorID = 0; | 401 m_requestorID = 0; |
| 401 m_requestorProcessID = 0; | 402 m_requestorProcessID = 0; |
| 402 m_appCacheHostID = 0; | 403 m_appCacheHostID = 0; |
| 403 m_requestContext = blink::WebURLRequest::RequestContextUnspecified; | 404 m_requestContext = blink::WebURLRequest::RequestContextUnspecified; |
| 404 m_frameType = blink::WebURLRequest::FrameTypeNone; | 405 m_frameType = blink::WebURLRequest::FrameTypeNone; |
| 405 m_referrerPolicy = ReferrerPolicyDefault; | 406 m_referrerPolicy = ReferrerPolicyDefault; |
| 406 } | 407 } |
| 407 | 408 |
| 408 // This is used by the loader to control the number of issued parallel load requ
ests. | 409 // This is used by the loader to control the number of issued parallel load requ
ests. |
| 409 unsigned initializeMaximumHTTPConnectionCountPerHost() | 410 unsigned initializeMaximumHTTPConnectionCountPerHost() |
| 410 { | 411 { |
| 411 // The chromium network stack already handles limiting the number of | 412 // The chromium network stack already handles limiting the number of |
| 412 // parallel requests per host, so there's no need to do it here. Therefore, | 413 // parallel requests per host, so there's no need to do it here. Therefore, |
| 413 // this is set to a high value that should never be hit in practice. | 414 // this is set to a high value that should never be hit in practice. |
| 414 return 10000; | 415 return 10000; |
| 415 } | 416 } |
| 416 | 417 |
| 417 } | 418 } |
| OLD | NEW |