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

Side by Side Diff: net/socket/stream_socket.h

Issue 7529043: Rename NET_API to NET_EXPORT, and rename NET_TEST to NET_EXPORT_PRIVATE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 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_H_ 5 #ifndef NET_SOCKET_STREAM_SOCKET_H_
6 #define NET_SOCKET_STREAM_SOCKET_H_ 6 #define NET_SOCKET_STREAM_SOCKET_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "net/base/net_log.h" 10 #include "net/base/net_log.h"
11 #include "net/socket/socket.h" 11 #include "net/socket/socket.h"
12 12
13 namespace net { 13 namespace net {
14 14
15 class AddressList; 15 class AddressList;
16 class IPEndPoint; 16 class IPEndPoint;
17 17
18 class NET_TEST StreamSocket : public Socket { 18 class NET_EXPORT_PRIVATE StreamSocket : public Socket {
19 public: 19 public:
20 virtual ~StreamSocket() {} 20 virtual ~StreamSocket() {}
21 21
22 // Called to establish a connection. Returns OK if the connection could be 22 // Called to establish a connection. Returns OK if the connection could be
23 // established synchronously. Otherwise, ERR_IO_PENDING is returned and the 23 // established synchronously. Otherwise, ERR_IO_PENDING is returned and the
24 // given callback will run asynchronously when the connection is established 24 // given callback will run asynchronously when the connection is established
25 // or when an error occurs. The result is some other error code if the 25 // or when an error occurs. The result is some other error code if the
26 // connection could not be established. 26 // connection could not be established.
27 // 27 //
28 // The socket's Read and Write methods may not be called until Connect 28 // The socket's Read and Write methods may not be called until Connect
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 // identify the motivation. 125 // identify the motivation.
126 bool omnibox_speculation_; 126 bool omnibox_speculation_;
127 bool subresource_speculation_; 127 bool subresource_speculation_;
128 DISALLOW_COPY_AND_ASSIGN(UseHistory); 128 DISALLOW_COPY_AND_ASSIGN(UseHistory);
129 }; 129 };
130 }; 130 };
131 131
132 } // namespace net 132 } // namespace net
133 133
134 #endif // NET_SOCKET_STREAM_SOCKET_H_ 134 #endif // NET_SOCKET_STREAM_SOCKET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698