| Index: third_party/WebKit/Source/platform/network/ResourceRequest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/network/ResourceRequest.cpp b/third_party/WebKit/Source/platform/network/ResourceRequest.cpp
|
| index 02699d9cd1e00233a1ca5b45c4a9da69c621d879..8ab07862b0ad733e0c723ba09ff3be9f6280a39a 100644
|
| --- a/third_party/WebKit/Source/platform/network/ResourceRequest.cpp
|
| +++ b/third_party/WebKit/Source/platform/network/ResourceRequest.cpp
|
| @@ -51,6 +51,7 @@ ResourceRequest::ResourceRequest(CrossThreadResourceRequestData* data)
|
| m_httpHeaderFields.adopt(data->m_httpHeaders.release());
|
|
|
| setHTTPBody(data->m_httpBody);
|
| + setAttachedCredential(data->m_attachedCredential);
|
| setAllowStoredCredentials(data->m_allowStoredCredentials);
|
| setReportUploadProgress(data->m_reportUploadProgress);
|
| setHasUserGesture(data->m_hasUserGesture);
|
| @@ -91,6 +92,8 @@ PassOwnPtr<CrossThreadResourceRequestData> ResourceRequest::copyData() const
|
|
|
| if (m_httpBody)
|
| data->m_httpBody = m_httpBody->deepCopy();
|
| + if (m_attachedCredential)
|
| + data->m_attachedCredential = m_attachedCredential->deepCopy();
|
| data->m_allowStoredCredentials = m_allowStoredCredentials;
|
| data->m_reportUploadProgress = m_reportUploadProgress;
|
| data->m_hasUserGesture = m_hasUserGesture;
|
| @@ -283,6 +286,16 @@ void ResourceRequest::setHTTPBody(PassRefPtr<EncodedFormData> httpBody)
|
| m_httpBody = httpBody;
|
| }
|
|
|
| +EncodedFormData* ResourceRequest::attachedCredential() const
|
| +{
|
| + return m_attachedCredential.get();
|
| +}
|
| +
|
| +void ResourceRequest::setAttachedCredential(PassRefPtr<EncodedFormData> attachedCredential)
|
| +{
|
| + m_attachedCredential = attachedCredential;
|
| +}
|
| +
|
| bool ResourceRequest::allowStoredCredentials() const
|
| {
|
| return m_allowStoredCredentials;
|
|
|