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

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

Issue 1207593006: Removing unused functions from ResourceRequest class (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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/platform/network/ResourceRequest.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/network/ResourceRequest.cpp
diff --git a/Source/platform/network/ResourceRequest.cpp b/Source/platform/network/ResourceRequest.cpp
index fb106da640b4e0aeb1e6754abb159f2f4fbd9655..20ed3f2aabf5bf45c39f653945b8e642e8361e50 100644
--- a/Source/platform/network/ResourceRequest.cpp
+++ b/Source/platform/network/ResourceRequest.cpp
@@ -224,11 +224,6 @@ void ResourceRequest::setHTTPReferrer(const Referrer& referrer)
m_didSetHTTPReferrer = true;
}
-void ResourceRequest::clearHTTPAuthorization()
-{
- m_httpHeaderFields.remove("Authorization");
-}
-
void ResourceRequest::clearHTTPReferrer()
{
m_httpHeaderFields.remove("Referer");
@@ -423,16 +418,6 @@ bool ResourceRequest::hasCacheValidatorFields() const
return !m_httpHeaderFields.get(lastModifiedHeader).isEmpty() || !m_httpHeaderFields.get(eTagHeader).isEmpty();
}
-double ResourceRequest::defaultTimeoutInterval()
-{
- return s_defaultTimeoutInterval;
-}
-
-void ResourceRequest::setDefaultTimeoutInterval(double timeoutInterval)
-{
- s_defaultTimeoutInterval = timeoutInterval;
-}
-
void ResourceRequest::initialize(const KURL& url)
{
m_url = url;
@@ -468,13 +453,4 @@ void ResourceRequest::initialize(const KURL& url)
m_followedRedirect = false;
}
-// This is used by the loader to control the number of issued parallel load requests.
-unsigned initializeMaximumHTTPConnectionCountPerHost()
-{
- // The chromium network stack already handles limiting the number of
- // parallel requests per host, so there's no need to do it here. Therefore,
- // this is set to a high value that should never be hit in practice.
- return 10000;
-}
-
} // namespace blink
« no previous file with comments | « Source/platform/network/ResourceRequest.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698