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

Unified Diff: net/url_request/url_request_ftp_job.h

Issue 42013: Slight code change to make some global variables const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 9 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/tools/testserver/testserver.py ('k') | net/url_request/url_request_job_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_ftp_job.h
===================================================================
--- net/url_request/url_request_ftp_job.h (revision 11293)
+++ net/url_request/url_request_ftp_job.h (working copy)
@@ -72,16 +72,22 @@
virtual void ContinueNotifyHeadersComplete();
typedef enum {
- START = 0x200, // initial state of the ftp job
- CONNECTING, // opening the url
- SETTING_CUR_DIRECTORY, // attempting to change current dir to match request
- FINDING_FIRST_FILE, // retrieving first file information in cur dir (by
- // FtpFindFirstFile)
- GETTING_DIRECTORY, // retrieving the directory listing (if directory)
- GETTING_FILE_HANDLE, // initiate access to file by call to FtpOpenFile
- // (if file).
- GETTING_FILE, // retrieving the file (if file)
- DONE // URLRequestInetJob is reading the response now
+ // Initial state of the ftp job.
+ START = 0x200,
+ // Opening the url.
+ CONNECTING,
+ // Attempting to change current dir to match request.
+ SETTING_CUR_DIRECTORY,
+ // Retrieving first file information in cur dir (by FtpFindFirstFile).
+ FINDING_FIRST_FILE,
+ // Retrieving the directory listing (if directory).
+ GETTING_DIRECTORY,
+ // Initiate access to file by call to FtpOpenFile (if file).
+ GETTING_FILE_HANDLE,
+ // Retrieving the file (if file).
+ GETTING_FILE,
+ // URLRequestInetJob is reading the response now.
+ DONE
} FtpJobState;
// The FtpJob has several asynchronous operations which happen
« no previous file with comments | « net/tools/testserver/testserver.py ('k') | net/url_request/url_request_job_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698