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

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

Issue 2359803003: Job Controller: clean up metrics logging about the job racing result (Closed)
Patch Set: sync Created 4 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
« no previous file with comments | « net/http/http_server_properties_impl.cc ('k') | net/http/http_stream_factory_impl_job.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) 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_JOB_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 225
226 std::unique_ptr<BidirectionalStreamImpl> ReleaseBidirectionalStream() { 226 std::unique_ptr<BidirectionalStreamImpl> ReleaseBidirectionalStream() {
227 return std::move(bidirectional_stream_impl_); 227 return std::move(bidirectional_stream_impl_);
228 } 228 }
229 229
230 bool is_waiting() const { return next_state_ == STATE_WAIT_COMPLETE; } 230 bool is_waiting() const { return next_state_ == STATE_WAIT_COMPLETE; }
231 const SSLConfig& server_ssl_config() const; 231 const SSLConfig& server_ssl_config() const;
232 const SSLConfig& proxy_ssl_config() const; 232 const SSLConfig& proxy_ssl_config() const;
233 const ProxyInfo& proxy_info() const; 233 const ProxyInfo& proxy_info() const;
234 234
235 // Called to indicate that this job succeeded, and some other jobs
236 // will be orphaned.
237 void ReportJobSucceededForRequest();
238
239 JobType job_type() const { return job_type_; } 235 JobType job_type() const { return job_type_; }
240 236
241 const AlternativeService alternative_service() const { 237 const AlternativeService alternative_service() const {
242 return alternative_service_; 238 return alternative_service_;
243 } 239 }
244 240
245 const ProxyServer alternative_proxy_server() const { 241 const ProxyServer alternative_proxy_server() const {
246 return alternative_proxy_server_; 242 return alternative_proxy_server_;
247 } 243 }
248 244
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 const SSLConfig& server_ssl_config, 520 const SSLConfig& server_ssl_config,
525 const SSLConfig& proxy_ssl_config, 521 const SSLConfig& proxy_ssl_config,
526 HostPortPair destination, 522 HostPortPair destination,
527 GURL origin_url, 523 GURL origin_url,
528 NetLog* net_log) = 0; 524 NetLog* net_log) = 0;
529 }; 525 };
530 526
531 } // namespace net 527 } // namespace net
532 528
533 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ 529 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
OLDNEW
« no previous file with comments | « net/http/http_server_properties_impl.cc ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698