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

Unified Diff: Source/platform/network/SocketStreamHandleInternal.h

Issue 499213002: Cleanup redundant namespace usage in Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/mediastream/RTCSessionDescriptionRequest.h ('k') | Source/platform/scheduler/Scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/network/SocketStreamHandleInternal.h
diff --git a/Source/platform/network/SocketStreamHandleInternal.h b/Source/platform/network/SocketStreamHandleInternal.h
index 796869dddf203bc33c6b1ba3acb718824b18dfdb..a22e17c44bd67cf99b11fbf43b0c6e3464e6210a 100644
--- a/Source/platform/network/SocketStreamHandleInternal.h
+++ b/Source/platform/network/SocketStreamHandleInternal.h
@@ -37,14 +37,12 @@
#include "wtf/PassOwnPtr.h"
namespace blink {
+
class WebData;
class WebSocketStreamError;
class WebSocketStreamHandle;
-}
-
-namespace blink {
-class PLATFORM_EXPORT SocketStreamHandleInternal : public GarbageCollectedFinalized<SocketStreamHandleInternal>, public blink::WebSocketStreamHandleClient {
+class PLATFORM_EXPORT SocketStreamHandleInternal : public GarbageCollectedFinalized<SocketStreamHandleInternal>, public WebSocketStreamHandleClient {
WTF_MAKE_NONCOPYABLE(SocketStreamHandleInternal);
public:
static SocketStreamHandleInternal* create(SocketStreamHandle* handle)
@@ -57,13 +55,13 @@ public:
int send(const char*, int);
void close();
- virtual void didOpenStream(blink::WebSocketStreamHandle*, int);
- virtual void didSendData(blink::WebSocketStreamHandle*, int);
- virtual void didReceiveData(blink::WebSocketStreamHandle*, const blink::WebData&);
- virtual void didClose(blink::WebSocketStreamHandle*);
- virtual void didFail(blink::WebSocketStreamHandle*, const blink::WebSocketStreamError&);
+ virtual void didOpenStream(WebSocketStreamHandle*, int);
+ virtual void didSendData(WebSocketStreamHandle*, int);
+ virtual void didReceiveData(WebSocketStreamHandle*, const WebData&);
+ virtual void didClose(WebSocketStreamHandle*);
+ virtual void didFail(WebSocketStreamHandle*, const WebSocketStreamError&);
- static blink::WebSocketStreamHandle* toWebSocketStreamHandle(SocketStreamHandle* handle)
+ static WebSocketStreamHandle* toWebSocketStreamHandle(SocketStreamHandle* handle)
{
if (handle && handle->m_internal)
return handle->m_internal->m_socket.get();
@@ -76,7 +74,7 @@ private:
explicit SocketStreamHandleInternal(SocketStreamHandle*);
Member<SocketStreamHandle> m_handle;
- OwnPtr<blink::WebSocketStreamHandle> m_socket;
+ OwnPtr<WebSocketStreamHandle> m_socket;
int m_maxPendingSendAllowed;
int m_pendingAmountSent;
};
« no previous file with comments | « Source/platform/mediastream/RTCSessionDescriptionRequest.h ('k') | Source/platform/scheduler/Scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698