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

Unified Diff: net/url_request/url_request_http_job.cc

Issue 16434016: Rewrite scoped_ptr<T>(NULL) to use the default ctor in net/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
« no previous file with comments | « net/url_request/url_fetcher_impl_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 df6ac9b954c3264fc4de5ebdf30d485ba1be6af0..6e0ee73208b837e3701886ada9e54bd7c6eea3b6 100644
--- a/net/url_request/url_request_http_job.cc
+++ b/net/url_request/url_request_http_job.cc
@@ -222,7 +222,6 @@ URLRequestJob* URLRequestHttpJob::Factory(URLRequest* request,
request->context()->http_user_agent_settings());
}
-
URLRequestHttpJob::URLRequestHttpJob(
URLRequest* request,
NetworkDelegate* network_delegate,
@@ -233,13 +232,12 @@ URLRequestHttpJob::URLRequestHttpJob(
response_cookies_save_index_(0),
proxy_auth_state_(AUTH_STATE_DONT_NEED_AUTH),
server_auth_state_(AUTH_STATE_DONT_NEED_AUTH),
- start_callback_(base::Bind(
- &URLRequestHttpJob::OnStartCompleted, base::Unretained(this))),
- notify_before_headers_sent_callback_(base::Bind(
- &URLRequestHttpJob::NotifyBeforeSendHeadersCallback,
- base::Unretained(this))),
+ start_callback_(base::Bind(&URLRequestHttpJob::OnStartCompleted,
+ base::Unretained(this))),
+ notify_before_headers_sent_callback_(
+ base::Bind(&URLRequestHttpJob::NotifyBeforeSendHeadersCallback,
+ base::Unretained(this))),
read_in_progress_(false),
- transaction_(NULL),
throttling_entry_(NULL),
sdch_dictionary_advertised_(false),
sdch_test_activated_(false),
@@ -253,12 +251,12 @@ URLRequestHttpJob::URLRequestHttpJob(
final_packet_time_(),
filter_context_(new HttpFilterContext(this)),
weak_factory_(this),
- on_headers_received_callback_(base::Bind(
- &URLRequestHttpJob::OnHeadersReceivedCallback,
- base::Unretained(this))),
+ on_headers_received_callback_(
+ base::Bind(&URLRequestHttpJob::OnHeadersReceivedCallback,
+ base::Unretained(this))),
awaiting_callback_(false),
- http_transaction_delegate_(new HttpTransactionDelegateImpl(
- request, network_delegate)),
+ http_transaction_delegate_(
+ new HttpTransactionDelegateImpl(request, network_delegate)),
http_user_agent_settings_(http_user_agent_settings) {
URLRequestThrottlerManager* manager = request->context()->throttler_manager();
if (manager)
« no previous file with comments | « net/url_request/url_fetcher_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698