Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Unified Diff: Source/platform/exported/WebURLRequest.cpp

Issue 189903002: Rename allowCookies to allowStoredCredentials (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/parser/HTMLPreloadScanner.cpp ('k') | Source/platform/exported/WebURLRequestPrivate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/exported/WebURLRequest.cpp
diff --git a/Source/platform/exported/WebURLRequest.cpp b/Source/platform/exported/WebURLRequest.cpp
index 2889ee2a3603ca7255e1fe499e2f5ae5d247ff13..854c5947d3ce6b0861e2b7bc4c5aa8e2bd3b900b 100644
--- a/Source/platform/exported/WebURLRequest.cpp
+++ b/Source/platform/exported/WebURLRequest.cpp
@@ -75,7 +75,6 @@ public:
: m_resourceRequestAllocation(*p->m_resourceRequest)
{
m_resourceRequest = &m_resourceRequestAllocation;
- m_allowStoredCredentials = p->m_allowStoredCredentials;
}
virtual void dispose() { delete this; }
@@ -127,24 +126,14 @@ void WebURLRequest::setFirstPartyForCookies(const WebURL& firstPartyForCookies)
m_private->m_resourceRequest->setFirstPartyForCookies(firstPartyForCookies);
}
-bool WebURLRequest::allowCookies() const
-{
- return m_private->m_resourceRequest->allowCookies();
-}
-
-void WebURLRequest::setAllowCookies(bool allowCookies)
-{
- m_private->m_resourceRequest->setAllowCookies(allowCookies);
-}
-
bool WebURLRequest::allowStoredCredentials() const
{
- return m_private->m_allowStoredCredentials;
+ return m_private->m_resourceRequest->allowStoredCredentials();
}
void WebURLRequest::setAllowStoredCredentials(bool allowStoredCredentials)
{
- m_private->m_allowStoredCredentials = allowStoredCredentials;
+ m_private->m_resourceRequest->setAllowStoredCredentials(allowStoredCredentials);
}
WebURLRequest::CachePolicy WebURLRequest::cachePolicy() const
« no previous file with comments | « Source/core/html/parser/HTMLPreloadScanner.cpp ('k') | Source/platform/exported/WebURLRequestPrivate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698