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

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

Issue 5574006: Start deinlining non-empty virtual methods. (This will be automatically checked (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove virtual from VideoFrame::type() 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_auth_handler.cc ('k') | net/http/http_stream_request.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) 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_REQUEST_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_REQUEST_H_
6 #define NET_HTTP_HTTP_STREAM_REQUEST_H_ 6 #define NET_HTTP_HTTP_STREAM_REQUEST_H_
7 7
8 #include "base/scoped_ptr.h" 8 #include "base/scoped_ptr.h"
9 #include "base/task.h" 9 #include "base/task.h"
10 #include "net/base/completion_callback.h" 10 #include "net/base/completion_callback.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 ProxyInfo* proxy_info, 62 ProxyInfo* proxy_info,
63 PreconnectDelegate* delegate, 63 PreconnectDelegate* delegate,
64 const BoundNetLog& net_log); 64 const BoundNetLog& net_log);
65 65
66 // StreamRequest interface 66 // StreamRequest interface
67 virtual int RestartWithCertificate(X509Certificate* client_cert); 67 virtual int RestartWithCertificate(X509Certificate* client_cert);
68 virtual int RestartTunnelWithProxyAuth(const string16& username, 68 virtual int RestartTunnelWithProxyAuth(const string16& username,
69 const string16& password); 69 const string16& password);
70 virtual LoadState GetLoadState() const; 70 virtual LoadState GetLoadState() const;
71 71
72 virtual bool was_alternate_protocol_available() const { 72 virtual bool was_alternate_protocol_available() const;
73 return was_alternate_protocol_available_; 73 virtual bool was_npn_negotiated() const;
74 } 74 virtual bool using_spdy() const;
75 virtual bool was_npn_negotiated() const { return was_npn_negotiated_; }
76 virtual bool using_spdy() const { return using_spdy_; }
77 75
78 private: 76 private:
79 enum AlternateProtocolMode { 77 enum AlternateProtocolMode {
80 kUnspecified, // Unspecified, check HttpAlternateProtocols 78 kUnspecified, // Unspecified, check HttpAlternateProtocols
81 kUsingAlternateProtocol, // Using an alternate protocol 79 kUsingAlternateProtocol, // Using an alternate protocol
82 kDoNotUseAlternateProtocol, // Failed to connect once, do not try again. 80 kDoNotUseAlternateProtocol, // Failed to connect once, do not try again.
83 }; 81 };
84 82
85 enum State { 83 enum State {
86 STATE_RESOLVE_PROXY, 84 STATE_RESOLVE_PROXY,
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 int num_streams_; 240 int num_streams_;
243 241
244 ScopedRunnableMethodFactory<HttpStreamRequest> method_factory_; 242 ScopedRunnableMethodFactory<HttpStreamRequest> method_factory_;
245 243
246 DISALLOW_COPY_AND_ASSIGN(HttpStreamRequest); 244 DISALLOW_COPY_AND_ASSIGN(HttpStreamRequest);
247 }; 245 };
248 246
249 } // namespace net 247 } // namespace net
250 248
251 #endif // NET_HTTP_HTTP_STREAM_REQUEST_H_ 249 #endif // NET_HTTP_HTTP_STREAM_REQUEST_H_
OLDNEW
« no previous file with comments | « net/http/http_auth_handler.cc ('k') | net/http/http_stream_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698