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

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

Issue 8572018: Remove referrer from TransportSocketParams and SOCKSSocketParams. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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
« no previous file with comments | « net/socket/socks_client_socket.h ('k') | net/socket/socks_client_socket_pool.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SOCKS_CLIENT_SOCKET_POOL_H_ 5 #ifndef NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_
6 #define NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ 6 #define NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 12 matching lines...) Expand all
23 23
24 class ConnectJobFactory; 24 class ConnectJobFactory;
25 class TransportClientSocketPool; 25 class TransportClientSocketPool;
26 class TransportSocketParams; 26 class TransportSocketParams;
27 27
28 class NET_EXPORT_PRIVATE SOCKSSocketParams 28 class NET_EXPORT_PRIVATE SOCKSSocketParams
29 : public base::RefCounted<SOCKSSocketParams> { 29 : public base::RefCounted<SOCKSSocketParams> {
30 public: 30 public:
31 SOCKSSocketParams(const scoped_refptr<TransportSocketParams>& proxy_server, 31 SOCKSSocketParams(const scoped_refptr<TransportSocketParams>& proxy_server,
32 bool socks_v5, const HostPortPair& host_port_pair, 32 bool socks_v5, const HostPortPair& host_port_pair,
33 RequestPriority priority, const GURL& referrer); 33 RequestPriority priority);
34 34
35 const scoped_refptr<TransportSocketParams>& transport_params() const { 35 const scoped_refptr<TransportSocketParams>& transport_params() const {
36 return transport_params_; 36 return transport_params_;
37 } 37 }
38 const HostResolver::RequestInfo& destination() const { return destination_; } 38 const HostResolver::RequestInfo& destination() const { return destination_; }
39 bool is_socks_v5() const { return socks_v5_; } 39 bool is_socks_v5() const { return socks_v5_; }
40 bool ignore_limits() const { return ignore_limits_; } 40 bool ignore_limits() const { return ignore_limits_; }
41 41
42 private: 42 private:
43 friend class base::RefCounted<SOCKSSocketParams>; 43 friend class base::RefCounted<SOCKSSocketParams>;
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 PoolBase base_; 191 PoolBase base_;
192 192
193 DISALLOW_COPY_AND_ASSIGN(SOCKSClientSocketPool); 193 DISALLOW_COPY_AND_ASSIGN(SOCKSClientSocketPool);
194 }; 194 };
195 195
196 REGISTER_SOCKET_PARAMS_FOR_POOL(SOCKSClientSocketPool, SOCKSSocketParams); 196 REGISTER_SOCKET_PARAMS_FOR_POOL(SOCKSClientSocketPool, SOCKSSocketParams);
197 197
198 } // namespace net 198 } // namespace net
199 199
200 #endif // NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ 200 #endif // NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_
OLDNEW
« no previous file with comments | « net/socket/socks_client_socket.h ('k') | net/socket/socks_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698