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

Side by Side Diff: net/url_request/url_request_ftp_job.h

Issue 252003002: Fix WeakPtrFactory member order in net/url_request/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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/url_request/url_fetcher_response_writer.cc ('k') | net/url_request/url_request_ftp_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_URL_REQUEST_URL_REQUEST_FTP_JOB_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_FTP_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_FTP_JOB_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_FTP_JOB_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 scoped_ptr<FtpTransaction> ftp_transaction_; 87 scoped_ptr<FtpTransaction> ftp_transaction_;
88 88
89 HttpRequestInfo http_request_info_; 89 HttpRequestInfo http_request_info_;
90 scoped_ptr<HttpTransaction> http_transaction_; 90 scoped_ptr<HttpTransaction> http_transaction_;
91 const HttpResponseInfo* http_response_info_; 91 const HttpResponseInfo* http_response_info_;
92 92
93 bool read_in_progress_; 93 bool read_in_progress_;
94 94
95 scoped_refptr<AuthData> auth_data_; 95 scoped_refptr<AuthData> auth_data_;
96 96
97 base::WeakPtrFactory<URLRequestFtpJob> weak_factory_;
98
99 FtpTransactionFactory* ftp_transaction_factory_; 97 FtpTransactionFactory* ftp_transaction_factory_;
100 FtpAuthCache* ftp_auth_cache_; 98 FtpAuthCache* ftp_auth_cache_;
101 99
100 base::WeakPtrFactory<URLRequestFtpJob> weak_factory_;
101
102 DISALLOW_COPY_AND_ASSIGN(URLRequestFtpJob); 102 DISALLOW_COPY_AND_ASSIGN(URLRequestFtpJob);
103 }; 103 };
104 104
105 } // namespace net 105 } // namespace net
106 106
107 #endif // NET_URL_REQUEST_URL_REQUEST_FTP_JOB_H_ 107 #endif // NET_URL_REQUEST_URL_REQUEST_FTP_JOB_H_
OLDNEW
« no previous file with comments | « net/url_request/url_fetcher_response_writer.cc ('k') | net/url_request/url_request_ftp_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698