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

Side by Side Diff: net/http/http_stream_factory.h

Issue 5648004: Add the "virtual" keyword on method overrides that are missing it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing file Created 10 years 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/http/http_net_log_params.h ('k') | net/net.gyp » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_HTTP_HTTP_STREAM_FACTORY_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_H_ 6 #define NET_HTTP_HTTP_STREAM_FACTORY_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 30 matching lines...) Expand all
41 const BoundNetLog& net_log); 41 const BoundNetLog& net_log);
42 42
43 virtual int PreconnectStreams(int num_streams, 43 virtual int PreconnectStreams(int num_streams,
44 const HttpRequestInfo* info, 44 const HttpRequestInfo* info,
45 SSLConfig* ssl_config, 45 SSLConfig* ssl_config,
46 ProxyInfo* proxy_info, 46 ProxyInfo* proxy_info,
47 HttpNetworkSession* session, 47 HttpNetworkSession* session,
48 const BoundNetLog& net_log, 48 const BoundNetLog& net_log,
49 CompletionCallback* callback); 49 CompletionCallback* callback);
50 50
51 void AddTLSIntolerantServer(const GURL& url); 51 virtual void AddTLSIntolerantServer(const GURL& url);
52 bool IsTLSIntolerantServer(const GURL& url); 52 virtual bool IsTLSIntolerantServer(const GURL& url);
53 53
54 virtual void ProcessAlternateProtocol( 54 virtual void ProcessAlternateProtocol(
55 HttpAlternateProtocols* alternate_protocols, 55 HttpAlternateProtocols* alternate_protocols,
56 const std::string& alternate_protocol_str, 56 const std::string& alternate_protocol_str,
57 const HostPortPair& http_host_port_pair); 57 const HostPortPair& http_host_port_pair);
58 58
59 virtual GURL ApplyHostMappingRules(const GURL& url, HostPortPair* endpoint); 59 virtual GURL ApplyHostMappingRules(const GURL& url, HostPortPair* endpoint);
60 60
61 // HttpStreamRequest::PreconnectDelegate API 61 // HttpStreamRequest::PreconnectDelegate API
62 virtual void OnPreconnectsComplete(HttpStreamRequest* request, int result); 62 virtual void OnPreconnectsComplete(HttpStreamRequest* request, int result);
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 static bool force_spdy_always_; 120 static bool force_spdy_always_;
121 static bool ignore_certificate_errors_; 121 static bool ignore_certificate_errors_;
122 122
123 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory); 123 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory);
124 }; 124 };
125 125
126 } // namespace net 126 } // namespace net
127 127
128 #endif // NET_HTTP_HTTP_STREAM_FACTORY_H_ 128 #endif // NET_HTTP_HTTP_STREAM_FACTORY_H_
129 129
OLDNEW
« no previous file with comments | « net/http/http_net_log_params.h ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698