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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 #include "core/loader/UniqueIdentifier.h" | 44 #include "core/loader/UniqueIdentifier.h" |
45 #include "modules/websockets/WebSocketChannel.h" | 45 #include "modules/websockets/WebSocketChannel.h" |
46 #include "modules/websockets/WebSocketChannelClient.h" | 46 #include "modules/websockets/WebSocketChannelClient.h" |
47 #include "platform/Logging.h" | 47 #include "platform/Logging.h" |
48 #include "platform/NotImplemented.h" | 48 #include "platform/NotImplemented.h" |
49 #include "public/platform/Platform.h" | 49 #include "public/platform/Platform.h" |
50 #include "public/platform/WebSocketHandle.h" | 50 #include "public/platform/WebSocketHandle.h" |
51 #include "public/platform/WebString.h" | 51 #include "public/platform/WebString.h" |
52 #include "public/platform/WebURL.h" | 52 #include "public/platform/WebURL.h" |
53 #include "public/platform/WebVector.h" | 53 #include "public/platform/WebVector.h" |
54 #include "weborigin/SecurityOrigin.h" | 54 #include "platform/weborigin/SecurityOrigin.h" |
55 #include "wtf/ArrayBuffer.h" | 55 #include "wtf/ArrayBuffer.h" |
56 #include "wtf/Vector.h" | 56 #include "wtf/Vector.h" |
57 #include "wtf/text/WTFString.h" | 57 #include "wtf/text/WTFString.h" |
58 | 58 |
59 using WebKit::WebSocketHandle; | 59 using WebKit::WebSocketHandle; |
60 | 60 |
61 namespace WebCore { | 61 namespace WebCore { |
62 | 62 |
63 namespace { | 63 namespace { |
64 | 64 |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 if (errorCode == FileError::ABORT_ERR) { | 486 if (errorCode == FileError::ABORT_ERR) { |
487 // The error is caused by cancel(). | 487 // The error is caused by cancel(). |
488 return; | 488 return; |
489 } | 489 } |
490 // FIXME: Generate human-friendly reason message. | 490 // FIXME: Generate human-friendly reason message. |
491 failAsError("Failed to load Blob: error code = " + String::number(errorCode)
); | 491 failAsError("Failed to load Blob: error code = " + String::number(errorCode)
); |
492 // |this| can be deleted here. | 492 // |this| can be deleted here. |
493 } | 493 } |
494 | 494 |
495 } // namespace WebCore | 495 } // namespace WebCore |
OLD | NEW |