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

Unified Diff: net/url_request/url_request_http_job.cc

Issue 2351513002: net: rename BoundNetLog to NetLogWithSource (Closed)
Patch Set: one more fix, content bound_net_log_ Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: net/url_request/url_request_http_job.cc
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc
index 590b571d285388795ee217e6b8f6384102a5b330..f842db2e487e02ed777fb123425513930cbb79c4 100644
--- a/net/url_request/url_request_http_job.cc
+++ b/net/url_request/url_request_http_job.cc
@@ -194,14 +194,14 @@ class URLRequestHttpJob::HttpFilterContext : public FilterContext {
int GetResponseCode() const override;
const URLRequestContext* GetURLRequestContext() const override;
void RecordPacketStats(StatisticSelector statistic) const override;
- const BoundNetLog& GetNetLog() const override;
+ const NetLogWithSource& GetNetLog() const override;
private:
URLRequestHttpJob* job_;
// URLRequestHttpJob may be detached from URLRequest, but we still need to
// return something.
- BoundNetLog dummy_log_;
+ NetLogWithSource dummy_log_;
DISALLOW_COPY_AND_ASSIGN(HttpFilterContext);
};
@@ -257,7 +257,8 @@ void URLRequestHttpJob::HttpFilterContext::RecordPacketStats(
job_->RecordPacketStats(statistic);
}
-const BoundNetLog& URLRequestHttpJob::HttpFilterContext::GetNetLog() const {
+const NetLogWithSource& URLRequestHttpJob::HttpFilterContext::GetNetLog()
+ const {
return job_->request() ? job_->request()->net_log() : dummy_log_;
}

Powered by Google App Engine
This is Rietveld 408576698