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 |