| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 #if ENABLE(WEB_SOCKETS) | 34 #if ENABLE(WEB_SOCKETS) |
| 35 | 35 |
| 36 #include "Logging.h" | 36 #include "Logging.h" |
| 37 #include "NotImplemented.h" | 37 #include "NotImplemented.h" |
| 38 #include "SocketStreamHandleClient.h" | 38 #include "SocketStreamHandleClient.h" |
| 39 #include "WebData.h" | 39 #include "WebData.h" |
| 40 #include "WebKit.h" | 40 #include "WebKit.h" |
| 41 #include "WebKitClient.h" | 41 #include "WebKitClient.h" |
| 42 #include "WebSocketStreamHandle.h" | 42 #include "WebSocketStreamHandle.h" |
| 43 #include "WebSocketStreamHandleClient.h" | 43 #include "WebSocketStreamHandleClient.h" |
| 44 #include "WebURL.h" |
| 44 #include <wtf/PassOwnPtr.h> | 45 #include <wtf/PassOwnPtr.h> |
| 45 | 46 |
| 46 using namespace WebKit; | 47 using namespace WebKit; |
| 47 | 48 |
| 48 namespace WebCore { | 49 namespace WebCore { |
| 49 | 50 |
| 50 class SocketStreamHandleInternal : public WebSocketStreamHandleClient { | 51 class SocketStreamHandleInternal : public WebSocketStreamHandleClient { |
| 51 public: | 52 public: |
| 52 static PassOwnPtr<SocketStreamHandleInternal> create(SocketStreamHandle* handle) | 53 static PassOwnPtr<SocketStreamHandleInternal> create(SocketStreamHandle* handle) |
| 53 { | 54 { |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 | 248 |
| 248 void SocketStreamHandle::receivedCancellation(const AuthenticationChallenge& challenge) | 249 void SocketStreamHandle::receivedCancellation(const AuthenticationChallenge& challenge) |
| 249 { | 250 { |
| 250 if (m_client) | 251 if (m_client) |
| 251 m_client->receivedCancellation(this, challenge); | 252 m_client->receivedCancellation(this, challenge); |
| 252 } | 253 } |
| 253 | 254 |
| 254 } // namespace WebCore | 255 } // namespace WebCore |
| 255 | 256 |
| 256 #endif // ENABLE(WEB_SOCKETS) | 257 #endif // ENABLE(WEB_SOCKETS) |
| OLD | NEW |