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

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

Issue 99733006: Remove duplicated headers from modules/ directory (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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
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 28 matching lines...) Expand all
39 #include "core/loader/UniqueIdentifier.h" 39 #include "core/loader/UniqueIdentifier.h"
40 #include "modules/websockets/WebSocketChannelClient.h" 40 #include "modules/websockets/WebSocketChannelClient.h"
41 #include "platform/Logging.h" 41 #include "platform/Logging.h"
42 #include "platform/weborigin/SecurityOrigin.h" 42 #include "platform/weborigin/SecurityOrigin.h"
43 #include "public/platform/Platform.h" 43 #include "public/platform/Platform.h"
44 #include "public/platform/WebSocketHandshakeRequestInfo.h" 44 #include "public/platform/WebSocketHandshakeRequestInfo.h"
45 #include "public/platform/WebSocketHandshakeResponseInfo.h" 45 #include "public/platform/WebSocketHandshakeResponseInfo.h"
46 #include "public/platform/WebString.h" 46 #include "public/platform/WebString.h"
47 #include "public/platform/WebURL.h" 47 #include "public/platform/WebURL.h"
48 #include "public/platform/WebVector.h" 48 #include "public/platform/WebVector.h"
49 #include "wtf/ArrayBuffer.h"
50 #include "wtf/Vector.h"
51 #include "wtf/text/WTFString.h"
52 49
53 using blink::WebSocketHandle; 50 using blink::WebSocketHandle;
54 51
55 namespace WebCore { 52 namespace WebCore {
56 53
57 class NewWebSocketChannelImpl::BlobLoader : public FileReaderLoaderClient { 54 class NewWebSocketChannelImpl::BlobLoader : public FileReaderLoaderClient {
58 public: 55 public:
59 BlobLoader(PassRefPtr<BlobDataHandle>, NewWebSocketChannelImpl*); 56 BlobLoader(PassRefPtr<BlobDataHandle>, NewWebSocketChannelImpl*);
60 virtual ~BlobLoader() { } 57 virtual ~BlobLoader() { }
61 58
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 if (errorCode == FileError::ABORT_ERR) { 477 if (errorCode == FileError::ABORT_ERR) {
481 // The error is caused by cancel(). 478 // The error is caused by cancel().
482 return; 479 return;
483 } 480 }
484 // FIXME: Generate human-friendly reason message. 481 // FIXME: Generate human-friendly reason message.
485 failAsError("Failed to load Blob: error code = " + String::number(errorCode) ); 482 failAsError("Failed to load Blob: error code = " + String::number(errorCode) );
486 // |this| can be deleted here. 483 // |this| can be deleted here.
487 } 484 }
488 485
489 } // namespace WebCore 486 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698