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

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

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #include "platform/Logging.h" 48 #include "platform/Logging.h"
49 #include "platform/network/SocketStreamError.h" 49 #include "platform/network/SocketStreamError.h"
50 #include "platform/network/SocketStreamHandle.h" 50 #include "platform/network/SocketStreamHandle.h"
51 #include "wtf/ArrayBuffer.h" 51 #include "wtf/ArrayBuffer.h"
52 #include "wtf/FastMalloc.h" 52 #include "wtf/FastMalloc.h"
53 #include "wtf/HashMap.h" 53 #include "wtf/HashMap.h"
54 #include "wtf/OwnPtr.h" 54 #include "wtf/OwnPtr.h"
55 #include "wtf/text/StringHash.h" 55 #include "wtf/text/StringHash.h"
56 #include "wtf/text/WTFString.h" 56 #include "wtf/text/WTFString.h"
57 57
58 namespace WebCore { 58 namespace blink {
59 59
60 const double TCPMaximumSegmentLifetime = 2 * 60.0; 60 const double TCPMaximumSegmentLifetime = 2 * 60.0;
61 61
62 MainThreadWebSocketChannel::MainThreadWebSocketChannel(Document* document, WebSo cketChannelClient* client, const String& sourceURL, unsigned lineNumber) 62 MainThreadWebSocketChannel::MainThreadWebSocketChannel(Document* document, WebSo cketChannelClient* client, const String& sourceURL, unsigned lineNumber)
63 : m_document(document) 63 : m_document(document)
64 , m_client(client) 64 , m_client(client)
65 , m_resumeTimer(this, &MainThreadWebSocketChannel::resumeTimerFired) 65 , m_resumeTimer(this, &MainThreadWebSocketChannel::resumeTimerFired)
66 , m_suspended(false) 66 , m_suspended(false)
67 , m_didFailOfClientAlreadyRun(false) 67 , m_didFailOfClientAlreadyRun(false)
68 , m_hasCalledDisconnectOnHandle(false) 68 , m_hasCalledDisconnectOnHandle(false)
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 void MainThreadWebSocketChannel::trace(Visitor* visitor) 868 void MainThreadWebSocketChannel::trace(Visitor* visitor)
869 { 869 {
870 visitor->trace(m_document); 870 visitor->trace(m_document);
871 visitor->trace(m_client); 871 visitor->trace(m_client);
872 visitor->trace(m_handshake); 872 visitor->trace(m_handshake);
873 visitor->trace(m_handle); 873 visitor->trace(m_handle);
874 WebSocketChannel::trace(visitor); 874 WebSocketChannel::trace(visitor);
875 SocketStreamHandleClient::trace(visitor); 875 SocketStreamHandleClient::trace(visitor);
876 } 876 }
877 877
878 } // namespace WebCore 878 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/websockets/MainThreadWebSocketChannel.h ('k') | Source/modules/websockets/NewWebSocketChannelImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698