Changeset 70314 in webkit
- Timestamp:
- Oct 22, 2010, 10:12:56 AM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 1 edited
- 3 copied
-
ChangeLog (modified) (1 diff)
-
platform/network/win/SocketStreamError.h (copied) (copied from trunk/WebCore/platform/network/curl/SocketStreamError.h ) (1 diff)
-
platform/network/win/SocketStreamHandle.h (copied) (copied from trunk/WebCore/platform/network/curl/SocketStreamHandle.h ) (1 diff)
-
platform/network/win/SocketStreamHandleWin.cpp (copied) (copied from trunk/WebCore/platform/network/curl/SocketStreamHandleCurl.cpp ) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r70312 r70314 1 2010-10-22 Patrick Gansterer <paroga@webkit.org> 2 3 Reviewed by Adam Roben. 4 5 [WIN] Add stubs for SocketStream classes 6 https://bugs.webkit.org/show_bug.cgi?id=47983 7 8 * platform/network/win/SocketStreamError.h: Copied from WebCore/platform/network/curl/SocketStreamError.h. 9 (WebCore::SocketStreamError::SocketStreamError): 10 * platform/network/win/SocketStreamHandle.h: Copied from WebCore/platform/network/curl/SocketStreamHandle.h. 11 (WebCore::SocketStreamHandle::create): 12 * platform/network/win/SocketStreamHandleWin.cpp: Copied from WebCore/platform/network/curl/SocketStreamHandleCurl.cpp. 13 1 14 2010-10-22 Patrick Gansterer <paroga@webkit.org> 2 15 -
trunk/WebCore/platform/network/win/SocketStreamError.h
r70142 r70314 36 36 namespace WebCore { 37 37 38 class SocketStreamError : public SocketStreamErrorBase {39 public:40 SocketStreamError() { }41 explicit SocketStreamError(int errorCode)42 : SocketStreamErrorBase(errorCode)43 {44 }38 class SocketStreamError : public SocketStreamErrorBase { 39 public: 40 SocketStreamError() { } 41 explicit SocketStreamError(int errorCode) 42 : SocketStreamErrorBase(errorCode) 43 { 44 } 45 45 46 };46 }; 47 47 48 } // namespace WebCore48 } // namespace WebCore 49 49 50 #endif // SocketStreamError_h50 #endif // SocketStreamError_h -
trunk/WebCore/platform/network/win/SocketStreamHandle.h
r70142 r70314 40 40 namespace WebCore { 41 41 42 class AuthenticationChallenge;43 class Credential;44 class SocketStreamHandleClient;42 class AuthenticationChallenge; 43 class Credential; 44 class SocketStreamHandleClient; 45 45 46 class SocketStreamHandle : public RefCounted<SocketStreamHandle>, public SocketStreamHandleBase {47 public:48 static PassRefPtr<SocketStreamHandle> create(const KURL& url, SocketStreamHandleClient* client) { return adoptRef(new SocketStreamHandle(url, client)); }46 class SocketStreamHandle : public RefCounted<SocketStreamHandle>, public SocketStreamHandleBase { 47 public: 48 static PassRefPtr<SocketStreamHandle> create(const KURL& url, SocketStreamHandleClient* client) { return adoptRef(new SocketStreamHandle(url, client)); } 49 49 50 virtual ~SocketStreamHandle();50 virtual ~SocketStreamHandle(); 51 51 52 protected:53 virtual int platformSend(const char* data, int length);54 virtual void platformClose();52 protected: 53 virtual int platformSend(const char* data, int length); 54 virtual void platformClose(); 55 55 56 private:57 SocketStreamHandle(const KURL&, SocketStreamHandleClient*);56 private: 57 SocketStreamHandle(const KURL&, SocketStreamHandleClient*); 58 58 59 // No authentication for streams per se, but proxy may ask for credentials.60 void didReceiveAuthenticationChallenge(const AuthenticationChallenge&);61 void receivedCredential(const AuthenticationChallenge&, const Credential&);62 void receivedRequestToContinueWithoutCredential(const AuthenticationChallenge&);63 void receivedCancellation(const AuthenticationChallenge&);64 };59 // No authentication for streams per se, but proxy may ask for credentials. 60 void didReceiveAuthenticationChallenge(const AuthenticationChallenge&); 61 void receivedCredential(const AuthenticationChallenge&, const Credential&); 62 void receivedRequestToContinueWithoutCredential(const AuthenticationChallenge&); 63 void receivedCancellation(const AuthenticationChallenge&); 64 }; 65 65 66 } // namespace WebCore66 } // namespace WebCore 67 67 68 #endif // SocketStreamHandle_h68 #endif // SocketStreamHandle_h -
trunk/WebCore/platform/network/win/SocketStreamHandleWin.cpp
r70142 r70314 87 87 } 88 88 89 } // namespace WebCore89 } // namespace WebCore
Note:
See TracChangeset
for help on using the changeset viewer.