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

Unified Diff: third_party/WebKit/Source/platform/network/ResourceRequest.cpp

Issue 1738623004: Rename enums/functions that collide in chromium style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-4
Patch Set: get-names-5 Created 4 years, 10 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
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 36014223a0e034e523beab8f9d8a2574753b2cee..7a8d429813b54c02a3fa3ee68afc2c4ccfe0d603 100644
--- a/third_party/WebKit/Source/platform/network/ResourceRequest.cpp
+++ b/third_party/WebKit/Source/platform/network/ResourceRequest.cpp
@@ -77,7 +77,7 @@ PassOwnPtr<CrossThreadResourceRequestData> ResourceRequest::copyData() const
{
OwnPtr<CrossThreadResourceRequestData> data = adoptPtr(new CrossThreadResourceRequestData());
data->m_url = url().copy();
- data->m_cachePolicy = cachePolicy();
+ data->m_cachePolicy = getCachePolicy();
data->m_timeoutInterval = timeoutInterval();
data->m_firstPartyForCookies = firstPartyForCookies().copy();
data->m_requestorOrigin = requestorOrigin() ? requestorOrigin()->isolatedCopy() : nullptr;
@@ -143,7 +143,7 @@ void ResourceRequest::removeCredentials()
m_url.setPass(String());
}
-ResourceRequestCachePolicy ResourceRequest::cachePolicy() const
+ResourceRequestCachePolicy ResourceRequest::getCachePolicy() const
{
return m_cachePolicy;
}
@@ -325,7 +325,7 @@ bool equalIgnoringHeaderFields(const ResourceRequest& a, const ResourceRequest&
if (a.url() != b.url())
return false;
- if (a.cachePolicy() != b.cachePolicy())
+ if (a.getCachePolicy() != b.getCachePolicy())
return false;
if (a.timeoutInterval() != b.timeoutInterval())

Powered by Google App Engine
This is Rietveld 408576698