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

Unified Diff: Source/WebCore/platform/network/ResourceRequestBase.cpp

Issue 13529026: Removing a bunch of unused platform code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix whitespace and compiler error on Mac. Created 7 years, 8 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: Source/WebCore/platform/network/ResourceRequestBase.cpp
diff --git a/Source/WebCore/platform/network/ResourceRequestBase.cpp b/Source/WebCore/platform/network/ResourceRequestBase.cpp
index 5ec94a404db08ff91445dcd704a53536a0c2f777..3ae50351da6bc48d2a5b0082e3128101057a1f1d 100644
--- a/Source/WebCore/platform/network/ResourceRequestBase.cpp
+++ b/Source/WebCore/platform/network/ResourceRequestBase.cpp
@@ -35,7 +35,7 @@ using namespace std;
namespace WebCore {
-#if !USE(SOUP) && (!PLATFORM(MAC) || USE(CFNETWORK)) && !PLATFORM(QT)
+#if !USE(SOUP) && (!PLATFORM(MAC) || USE(CFNETWORK))
double ResourceRequestBase::s_defaultTimeoutInterval = INT_MAX;
#else
// Will use NSURLRequest default timeout unless set to a non-zero value with setDefaultTimeoutInterval().
@@ -526,13 +526,4 @@ void ResourceRequestBase::updateResourceRequest(HTTPBodyUpdatePolicy bodyPolicy)
}
}
-#if !PLATFORM(MAC) && !USE(CFNETWORK) && !USE(SOUP) && !PLATFORM(CHROMIUM) && !PLATFORM(QT) && !PLATFORM(BLACKBERRY)
-unsigned initializeMaximumHTTPConnectionCountPerHost()
-{
- // This is used by the loader to control the number of issued parallel load requests.
- // Four seems to be a common default in HTTP frameworks.
- return 4;
-}
-#endif
-
}
« no previous file with comments | « Source/WebCore/platform/network/ResourceHandleInternal.h ('k') | Source/WebCore/platform/text/TextBoundaries.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698