| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 #include "public/platform/Platform.h" | 50 #include "public/platform/Platform.h" |
| 51 #include "public/platform/WebSerializedOrigin.h" | 51 #include "public/platform/WebSerializedOrigin.h" |
| 52 #include "public/platform/WebSocketHandshakeRequestInfo.h" | 52 #include "public/platform/WebSocketHandshakeRequestInfo.h" |
| 53 #include "public/platform/WebSocketHandshakeResponseInfo.h" | 53 #include "public/platform/WebSocketHandshakeResponseInfo.h" |
| 54 #include "public/platform/WebString.h" | 54 #include "public/platform/WebString.h" |
| 55 #include "public/platform/WebURL.h" | 55 #include "public/platform/WebURL.h" |
| 56 #include "public/platform/WebVector.h" | 56 #include "public/platform/WebVector.h" |
| 57 | 57 |
| 58 using blink::WebSocketHandle; | 58 using blink::WebSocketHandle; |
| 59 | 59 |
| 60 namespace WebCore { | 60 namespace blink { |
| 61 | 61 |
| 62 class NewWebSocketChannelImpl::BlobLoader FINAL : public NoBaseWillBeGarbageColl
ectedFinalized<NewWebSocketChannelImpl::BlobLoader>, public FileReaderLoaderClie
nt { | 62 class NewWebSocketChannelImpl::BlobLoader FINAL : public NoBaseWillBeGarbageColl
ectedFinalized<NewWebSocketChannelImpl::BlobLoader>, public FileReaderLoaderClie
nt { |
| 63 public: | 63 public: |
| 64 BlobLoader(PassRefPtr<BlobDataHandle>, NewWebSocketChannelImpl*); | 64 BlobLoader(PassRefPtr<BlobDataHandle>, NewWebSocketChannelImpl*); |
| 65 virtual ~BlobLoader() { } | 65 virtual ~BlobLoader() { } |
| 66 | 66 |
| 67 void cancel(); | 67 void cancel(); |
| 68 | 68 |
| 69 // FileReaderLoaderClient functions. | 69 // FileReaderLoaderClient functions. |
| 70 virtual void didStartLoading() OVERRIDE { } | 70 virtual void didStartLoading() OVERRIDE { } |
| (...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 558 // |this| can be deleted here. | 558 // |this| can be deleted here. |
| 559 } | 559 } |
| 560 | 560 |
| 561 void NewWebSocketChannelImpl::trace(Visitor* visitor) | 561 void NewWebSocketChannelImpl::trace(Visitor* visitor) |
| 562 { | 562 { |
| 563 visitor->trace(m_blobLoader); | 563 visitor->trace(m_blobLoader); |
| 564 visitor->trace(m_client); | 564 visitor->trace(m_client); |
| 565 WebSocketChannel::trace(visitor); | 565 WebSocketChannel::trace(visitor); |
| 566 } | 566 } |
| 567 | 567 |
| 568 } // namespace WebCore | 568 } // namespace blink |
| OLD | NEW |