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

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

Issue 363613003: Removing using declarations that import names in the C++ Standard library. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
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 using namespace std;
59
60 namespace WebCore { 58 namespace WebCore {
61 59
62 const double TCPMaximumSegmentLifetime = 2 * 60.0; 60 const double TCPMaximumSegmentLifetime = 2 * 60.0;
63 61
64 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)
65 : m_document(document) 63 : m_document(document)
66 , m_client(client) 64 , m_client(client)
67 , m_resumeTimer(this, &MainThreadWebSocketChannel::resumeTimerFired) 65 , m_resumeTimer(this, &MainThreadWebSocketChannel::resumeTimerFired)
68 , m_suspended(false) 66 , m_suspended(false)
69 , m_didFailOfClientAlreadyRun(false) 67 , m_didFailOfClientAlreadyRun(false)
(...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 { 872 {
875 visitor->trace(m_document); 873 visitor->trace(m_document);
876 visitor->trace(m_client); 874 visitor->trace(m_client);
877 visitor->trace(m_handshake); 875 visitor->trace(m_handshake);
878 visitor->trace(m_handle); 876 visitor->trace(m_handle);
879 WebSocketChannel::trace(visitor); 877 WebSocketChannel::trace(visitor);
880 SocketStreamHandleClient::trace(visitor); 878 SocketStreamHandleClient::trace(visitor);
881 } 879 }
882 880
883 } // namespace WebCore 881 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/modules/webaudio/WaveShaperDSPKernel.cpp ('k') | Source/modules/websockets/WebSocketFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698