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

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

Issue 10825073: Stop using ScopedAllowIO in content::ResourceDispatcherHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove const Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/url_request/url_request.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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 virtual void Start() OVERRIDE; 54 virtual void Start() OVERRIDE;
55 virtual void Kill() OVERRIDE; 55 virtual void Kill() OVERRIDE;
56 virtual LoadState GetLoadState() const OVERRIDE; 56 virtual LoadState GetLoadState() const OVERRIDE;
57 virtual bool NeedsAuth() OVERRIDE; 57 virtual bool NeedsAuth() OVERRIDE;
58 virtual void GetAuthChallengeInfo( 58 virtual void GetAuthChallengeInfo(
59 scoped_refptr<AuthChallengeInfo>* auth_info) OVERRIDE; 59 scoped_refptr<AuthChallengeInfo>* auth_info) OVERRIDE;
60 virtual void SetAuth(const AuthCredentials& credentials) OVERRIDE; 60 virtual void SetAuth(const AuthCredentials& credentials) OVERRIDE;
61 virtual void CancelAuth() OVERRIDE; 61 virtual void CancelAuth() OVERRIDE;
62 62
63 // TODO(ibrar): Yet to give another look at this function. 63 // TODO(ibrar): Yet to give another look at this function.
64 virtual uint64 GetUploadProgress() const OVERRIDE; 64 virtual UploadProgress GetUploadProgress() const OVERRIDE;
65 virtual bool ReadRawData(IOBuffer* buf, 65 virtual bool ReadRawData(IOBuffer* buf,
66 int buf_size, 66 int buf_size,
67 int *bytes_read) OVERRIDE; 67 int *bytes_read) OVERRIDE;
68 68
69 FtpRequestInfo request_info_; 69 FtpRequestInfo request_info_;
70 scoped_ptr<FtpTransaction> transaction_; 70 scoped_ptr<FtpTransaction> transaction_;
71 71
72 bool read_in_progress_; 72 bool read_in_progress_;
73 73
74 scoped_refptr<AuthData> server_auth_; 74 scoped_refptr<AuthData> server_auth_;
75 75
76 base::WeakPtrFactory<URLRequestFtpJob> weak_factory_; 76 base::WeakPtrFactory<URLRequestFtpJob> weak_factory_;
77 77
78 FtpTransactionFactory* ftp_transaction_factory_; 78 FtpTransactionFactory* ftp_transaction_factory_;
79 FtpAuthCache* ftp_auth_cache_; 79 FtpAuthCache* ftp_auth_cache_;
80 80
81 DISALLOW_COPY_AND_ASSIGN(URLRequestFtpJob); 81 DISALLOW_COPY_AND_ASSIGN(URLRequestFtpJob);
82 }; 82 };
83 83
84 } // namespace net 84 } // namespace net
85 85
86 #endif // NET_URL_REQUEST_URL_REQUEST_FTP_JOB_H_ 86 #endif // NET_URL_REQUEST_URL_REQUEST_FTP_JOB_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request.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