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

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

Issue 623213004: replace OVERRIDE and FINAL with override and final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_IMPL_REQUEST_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_ 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_
7 7
8 #include <set> 8 #include <set>
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "net/base/net_log.h" 10 #include "net/base/net_log.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 void OnHttpsProxyTunnelResponse( 92 void OnHttpsProxyTunnelResponse(
93 Job *job, 93 Job *job,
94 const HttpResponseInfo& response_info, 94 const HttpResponseInfo& response_info,
95 const SSLConfig& used_ssl_config, 95 const SSLConfig& used_ssl_config,
96 const ProxyInfo& used_proxy_info, 96 const ProxyInfo& used_proxy_info,
97 HttpStreamBase* stream); 97 HttpStreamBase* stream);
98 98
99 // HttpStreamRequest methods. 99 // HttpStreamRequest methods.
100 100
101 virtual int RestartTunnelWithProxyAuth( 101 virtual int RestartTunnelWithProxyAuth(
102 const AuthCredentials& credentials) OVERRIDE; 102 const AuthCredentials& credentials) override;
103 virtual void SetPriority(RequestPriority priority) OVERRIDE; 103 virtual void SetPriority(RequestPriority priority) override;
104 virtual LoadState GetLoadState() const OVERRIDE; 104 virtual LoadState GetLoadState() const override;
105 virtual bool was_npn_negotiated() const OVERRIDE; 105 virtual bool was_npn_negotiated() const override;
106 virtual NextProto protocol_negotiated() const OVERRIDE; 106 virtual NextProto protocol_negotiated() const override;
107 virtual bool using_spdy() const OVERRIDE; 107 virtual bool using_spdy() const override;
108 108
109 private: 109 private:
110 // Used to orphan all jobs in |jobs_| other than |job| which becomes "bound" 110 // Used to orphan all jobs in |jobs_| other than |job| which becomes "bound"
111 // to the request. 111 // to the request.
112 void OrphanJobsExcept(Job* job); 112 void OrphanJobsExcept(Job* job);
113 113
114 // Used to orphan all jobs in |jobs_|. 114 // Used to orphan all jobs in |jobs_|.
115 void OrphanJobs(); 115 void OrphanJobs();
116 116
117 // Called when a Job succeeds. 117 // Called when a Job succeeds.
(...skipping 16 matching lines...) Expand all
134 // Protocol negotiated with the server. 134 // Protocol negotiated with the server.
135 NextProto protocol_negotiated_; 135 NextProto protocol_negotiated_;
136 bool using_spdy_; 136 bool using_spdy_;
137 137
138 DISALLOW_COPY_AND_ASSIGN(Request); 138 DISALLOW_COPY_AND_ASSIGN(Request);
139 }; 139 };
140 140
141 } // namespace net 141 } // namespace net
142 142
143 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_ 143 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698