Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Side by Side Diff: Source/modules/websockets/NewWebSocketChannelImpl.cpp

Issue 25195003: Prepare to move core/platform/text into blink_platform.dll (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: re-attempt upload Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 19 matching lines...) Expand all
30 30
31 #include "config.h" 31 #include "config.h"
32 #include "modules/websockets/NewWebSocketChannelImpl.h" 32 #include "modules/websockets/NewWebSocketChannelImpl.h"
33 33
34 #include "core/dom/ContextLifecycleObserver.h" 34 #include "core/dom/ContextLifecycleObserver.h"
35 #include "core/dom/ScriptExecutionContext.h" 35 #include "core/dom/ScriptExecutionContext.h"
36 #include "core/fileapi/Blob.h" 36 #include "core/fileapi/Blob.h"
37 #include "core/fileapi/FileError.h" 37 #include "core/fileapi/FileError.h"
38 #include "core/fileapi/FileReaderLoader.h" 38 #include "core/fileapi/FileReaderLoader.h"
39 #include "core/fileapi/FileReaderLoaderClient.h" 39 #include "core/fileapi/FileReaderLoaderClient.h"
40 #include "core/platform/NotImplemented.h" 40 #include "platform/NotImplemented.h"
41 #include "modules/websockets/WebSocketChannel.h" 41 #include "modules/websockets/WebSocketChannel.h"
42 #include "modules/websockets/WebSocketChannelClient.h" 42 #include "modules/websockets/WebSocketChannelClient.h"
43 #include "public/platform/Platform.h" 43 #include "public/platform/Platform.h"
44 #include "public/platform/WebSocketHandle.h" 44 #include "public/platform/WebSocketHandle.h"
45 #include "public/platform/WebString.h" 45 #include "public/platform/WebString.h"
46 #include "public/platform/WebURL.h" 46 #include "public/platform/WebURL.h"
47 #include "public/platform/WebVector.h" 47 #include "public/platform/WebVector.h"
48 #include "weborigin/SecurityOrigin.h" 48 #include "weborigin/SecurityOrigin.h"
49 #include "wtf/ArrayBuffer.h" 49 #include "wtf/ArrayBuffer.h"
50 #include "wtf/Vector.h" 50 #include "wtf/Vector.h"
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 if (errorCode == FileError::ABORT_ERR) { 587 if (errorCode == FileError::ABORT_ERR) {
588 // The error is caused by cancel(). 588 // The error is caused by cancel().
589 return; 589 return;
590 } 590 }
591 // FIXME: Generate human-friendly reason message. 591 // FIXME: Generate human-friendly reason message.
592 failAsError("Failed to load Blob: error code = " + String::number(errorCode) ); 592 failAsError("Failed to load Blob: error code = " + String::number(errorCode) );
593 // |this| can be deleted here. 593 // |this| can be deleted here.
594 } 594 }
595 595
596 } // namespace WebCore 596 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/modules/websockets/MainThreadWebSocketChannel.cpp ('k') | Source/modules/websockets/WebSocket.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698