WebCore:
authorpewtermoose@webkit.org <pewtermoose@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Apr 2008 17:49:52 +0000 (17:49 +0000)
committerpewtermoose@webkit.org <pewtermoose@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Apr 2008 17:49:52 +0000 (17:49 +0000)
2008-04-23  Daniel Zucker  <zucker@wake3.com>

        Reviewed by Adam Roben.

        Fix build errors needed to compile Curl in Cairo build.  Add stubs for
        didReceiveAuthenticationChallenge, receivedCredential,
        receivedRequestToContinueWithoutCredential, and receivedCancellation.
        <https://bugs.webkit.org/show_bug.cgi?id=18468>

        * platform/network/ResourceHandle.h:
        * platform/network/curl/ResourceHandleCurl.cpp:
        (WebCore::ResourceHandle::didReceiveAuthenticationChallenge):
        (WebCore::ResourceHandle::receivedCredential):
        (WebCore::ResourceHandle::receivedRequestToContinueWithoutCredential):
        (WebCore::ResourceHandle::receivedCancellation):

WebKit/win:

2008-04-23  Daniel Zucker  <zucker@wake3.com>

        Reviewed by Adam Roben.

        <https://bugs.webkit.org/show_bug.cgi?id=18468>

        * WebError.h:  include RetainPtr.h to fix build errors in Cairo build

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@32442 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/platform/network/ResourceHandle.h
WebCore/platform/network/curl/ResourceHandleCurl.cpp
WebKit/win/ChangeLog
WebKit/win/WebError.h

index ae2d71d..8004e36 100644 (file)
@@ -1,3 +1,19 @@
+2008-04-23  Daniel Zucker  <zucker@wake3.com>
+
+        Reviewed by Adam Roben.
+
+        Fix build errors needed to compile Curl in Cairo build.  Add stubs for
+        didReceiveAuthenticationChallenge, receivedCredential,
+        receivedRequestToContinueWithoutCredential, and receivedCancellation.
+        <https://bugs.webkit.org/show_bug.cgi?id=18468>
+
+        * platform/network/ResourceHandle.h:  
+        * platform/network/curl/ResourceHandleCurl.cpp:
+        (WebCore::ResourceHandle::didReceiveAuthenticationChallenge):
+        (WebCore::ResourceHandle::receivedCredential):
+        (WebCore::ResourceHandle::receivedRequestToContinueWithoutCredential):
+        (WebCore::ResourceHandle::receivedCancellation):
+
 2008-04-23  Dan Bernstein  <mitz@apple.com>
 
         Reviewed by Darin Adler.
index 4c77ae1..3bea593 100644 (file)
@@ -30,6 +30,9 @@
 #include "HTTPHeaderMap.h"
 #include <wtf/OwnPtr.h>
 
+#if PLATFORM(CF)
+typedef const struct __CFData * CFDataRef;
+#endif
 
 #if PLATFORM(WIN)
 typedef unsigned long DWORD;
@@ -103,7 +106,7 @@ public:
     
     ~ResourceHandle();
 
-#if PLATFORM(MAC) || USE(CFNETWORK)
+#if PLATFORM(MAC) || USE(CFNETWORK) || USE(CURL)
     void didReceiveAuthenticationChallenge(const AuthenticationChallenge&);
     void receivedCredential(const AuthenticationChallenge&, const Credential&);
     void receivedRequestToContinueWithoutCredential(const AuthenticationChallenge&);
index 488d4c9..fe53cbd 100644 (file)
@@ -176,4 +176,25 @@ void ResourceHandle::loadResourceSynchronously(const ResourceRequest& request, R
     response = syncLoader.resourceResponse();
 }
 
+//stubs needed for windows version
+void ResourceHandle::didReceiveAuthenticationChallenge(const AuthenticationChallenge&) 
+{
+    notImplemented();
+}
+
+void ResourceHandle::receivedCredential(const AuthenticationChallenge&, const Credential&) 
+{
+    notImplemented();
+}
+
+void ResourceHandle::receivedRequestToContinueWithoutCredential(const AuthenticationChallenge&) 
+{
+    notImplemented();
+}
+
+void ResourceHandle::receivedCancellation(const AuthenticationChallenge&)
+{
+    notImplemented();
+}
+
 } // namespace WebCore
index 30ddc68..b4c6aad 100644 (file)
@@ -2,6 +2,14 @@
 
         Reviewed by Adam Roben.
 
+        <https://bugs.webkit.org/show_bug.cgi?id=18468>
+
+        * WebError.h:  include RetainPtr.h to fix build errors in Cairo build
+
+2008-04-23  Daniel Zucker  <zucker@wake3.com>
+
+        Reviewed by Adam Roben.
+
         Move the location of #if USE(CFNETWORK) to fix a cairo/curl build error.
         <https://bugs.webkit.org/show_bug.cgi?id=18470>
 
index 44a6a3a..ff0625d 100644 (file)
@@ -33,6 +33,8 @@
 #include <WebCore/ResourceError.h>
 #pragma warning(pop)
 
+#include <wtf/RetainPtr.h>
+
 class WebError : public IWebError, IWebErrorPrivate {
 public:
     static WebError* createInstance(const WebCore::ResourceError&, IPropertyBag* userInfo = 0);