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

Side by Side Diff: net/socket_stream/socket_stream_job.h

Issue 9582034: Fork SPDY/2 and SPDY/3 versions of our SPDY tests, in preparation for landing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix merge bug Created 8 years, 9 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 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_SOCKET_STREAM_SOCKET_STREAM_JOB_H_ 5 #ifndef NET_SOCKET_STREAM_SOCKET_STREAM_JOB_H_
6 #define NET_SOCKET_STREAM_SOCKET_STREAM_JOB_H_ 6 #define NET_SOCKET_STREAM_SOCKET_STREAM_JOB_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 virtual bool SendData(const char* data, int len); 61 virtual bool SendData(const char* data, int len);
62 62
63 virtual void Close(); 63 virtual void Close();
64 64
65 virtual void RestartWithAuth(const AuthCredentials& credentials); 65 virtual void RestartWithAuth(const AuthCredentials& credentials);
66 66
67 virtual void DetachDelegate(); 67 virtual void DetachDelegate();
68 68
69 protected: 69 protected:
70 friend class WebSocketJobTest; 70 friend class WebSocketJobSpdy2Test;
71 friend class WebSocketJobSpdy3Test;
71 friend class base::RefCountedThreadSafe<SocketStreamJob>; 72 friend class base::RefCountedThreadSafe<SocketStreamJob>;
72 virtual ~SocketStreamJob(); 73 virtual ~SocketStreamJob();
73 74
74 scoped_refptr<SocketStream> socket_; 75 scoped_refptr<SocketStream> socket_;
75 76
76 DISALLOW_COPY_AND_ASSIGN(SocketStreamJob); 77 DISALLOW_COPY_AND_ASSIGN(SocketStreamJob);
77 }; 78 };
78 79
79 } // namespace net 80 } // namespace net
80 81
81 #endif // NET_SOCKET_STREAM_SOCKET_STREAM_JOB_H_ 82 #endif // NET_SOCKET_STREAM_SOCKET_STREAM_JOB_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_pool_unittest.cc ('k') | net/spdy/buffered_spdy_framer_spdy2_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698