| 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 | 293 |
| 294 void ResourceRequest::initialize(const KURL& url, ResourceRequestCachePolicy cac
hePolicy) | 294 void ResourceRequest::initialize(const KURL& url, ResourceRequestCachePolicy cac
hePolicy) |
| 295 { | 295 { |
| 296 m_url = url; | 296 m_url = url; |
| 297 m_cachePolicy = cachePolicy; | 297 m_cachePolicy = cachePolicy; |
| 298 m_timeoutInterval = s_defaultTimeoutInterval; | 298 m_timeoutInterval = s_defaultTimeoutInterval; |
| 299 m_httpMethod = "GET"; | 299 m_httpMethod = "GET"; |
| 300 m_allowStoredCredentials = true; | 300 m_allowStoredCredentials = true; |
| 301 m_reportUploadProgress = false; | 301 m_reportUploadProgress = false; |
| 302 m_reportRawHeaders = false; | 302 m_reportRawHeaders = false; |
| 303 m_hasUserGesture = false; | |
| 304 m_downloadToFile = false; | 303 m_downloadToFile = false; |
| 305 m_priority = ResourceLoadPriorityLow; | 304 m_priority = ResourceLoadPriorityLow; |
| 306 m_intraPriorityValue = 0; | 305 m_intraPriorityValue = 0; |
| 307 m_requestorID = 0; | 306 m_requestorID = 0; |
| 308 m_requestorProcessID = 0; | 307 m_requestorProcessID = 0; |
| 309 m_requestContext = blink::WebURLRequest::RequestContextUnspecified; | 308 m_requestContext = blink::WebURLRequest::RequestContextUnspecified; |
| 310 m_frameType = blink::WebURLRequest::FrameTypeNone; | 309 m_frameType = blink::WebURLRequest::FrameTypeNone; |
| 311 m_referrerPolicy = ReferrerPolicyDefault; | 310 m_referrerPolicy = ReferrerPolicyDefault; |
| 312 } | 311 } |
| 313 | 312 |
| 314 } | 313 } |
| OLD | NEW |