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

Side by Side Diff: Source/platform/network/SocketStreamHandleInternal.h

Issue 400543004: Rename WebCore namespace to blink in Platform (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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 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 24 matching lines...) Expand all
35 #include "public/platform/WebSocketStreamHandleClient.h" 35 #include "public/platform/WebSocketStreamHandleClient.h"
36 #include "public/platform/WebURL.h" 36 #include "public/platform/WebURL.h"
37 #include "wtf/PassOwnPtr.h" 37 #include "wtf/PassOwnPtr.h"
38 38
39 namespace blink { 39 namespace blink {
40 class WebData; 40 class WebData;
41 class WebSocketStreamError; 41 class WebSocketStreamError;
42 class WebSocketStreamHandle; 42 class WebSocketStreamHandle;
43 } 43 }
44 44
45 namespace WebCore { 45 namespace blink {
46 46
47 class PLATFORM_EXPORT SocketStreamHandleInternal : public NoBaseWillBeGarbageCol lectedFinalized<SocketStreamHandleInternal>, public blink::WebSocketStreamHandle Client { 47 class PLATFORM_EXPORT SocketStreamHandleInternal : public NoBaseWillBeGarbageCol lectedFinalized<SocketStreamHandleInternal>, public blink::WebSocketStreamHandle Client {
48 WTF_MAKE_NONCOPYABLE(SocketStreamHandleInternal); 48 WTF_MAKE_NONCOPYABLE(SocketStreamHandleInternal);
49 public: 49 public:
50 static PassOwnPtrWillBeRawPtr<SocketStreamHandleInternal> create(SocketStrea mHandle* handle) 50 static PassOwnPtrWillBeRawPtr<SocketStreamHandleInternal> create(SocketStrea mHandle* handle)
51 { 51 {
52 return adoptPtrWillBeNoop(new SocketStreamHandleInternal(handle)); 52 return adoptPtrWillBeNoop(new SocketStreamHandleInternal(handle));
53 } 53 }
54 virtual ~SocketStreamHandleInternal(); 54 virtual ~SocketStreamHandleInternal();
55 55
(...skipping 18 matching lines...) Expand all
74 74
75 private: 75 private:
76 explicit SocketStreamHandleInternal(SocketStreamHandle*); 76 explicit SocketStreamHandleInternal(SocketStreamHandle*);
77 77
78 RawPtrWillBeMember<SocketStreamHandle> m_handle; 78 RawPtrWillBeMember<SocketStreamHandle> m_handle;
79 OwnPtr<blink::WebSocketStreamHandle> m_socket; 79 OwnPtr<blink::WebSocketStreamHandle> m_socket;
80 int m_maxPendingSendAllowed; 80 int m_maxPendingSendAllowed;
81 int m_pendingAmountSent; 81 int m_pendingAmountSent;
82 }; 82 };
83 83
84 } // namespace WebCore 84 } // namespace blink
85 85
86 #endif // SocketStreamHandleInternal_h 86 #endif // SocketStreamHandleInternal_h
OLDNEW
« no previous file with comments | « Source/platform/network/SocketStreamHandleClient.h ('k') | Source/platform/network/WebSocketHandshakeRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698