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

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

Issue 20378: Reduce the amount of included header files. Vast change like in "Oh God! This... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include "net/url_request/url_request_ftp_job.h" 5 #include "net/url_request/url_request_ftp_job.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <wininet.h> 8 #include <wininet.h>
9 9
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/time.h" 12 #include "base/time.h"
13 #include "net/base/auth.h" 13 #include "net/base/auth.h"
14 #include "net/base/load_flags.h" 14 #include "net/base/load_flags.h"
15 #include "net/base/net_util.h" 15 #include "net/base/net_util.h"
16 #include "net/base/wininet_util.h" 16 #include "net/base/wininet_util.h"
17 #include "net/url_request/url_request.h" 17 #include "net/url_request/url_request.h"
18 #include "net/url_request/url_request_context.h"
18 #include "net/url_request/url_request_error_job.h" 19 #include "net/url_request/url_request_error_job.h"
19 #include "net/base/escape.h" 20 #include "net/base/escape.h"
20 21
21 using std::string; 22 using std::string;
22 23
23 using net::WinInetUtil; 24 using net::WinInetUtil;
24 25
25 // When building the directory listing, the period to wait before notifying 26 // When building the directory listing, the period to wait before notifying
26 // the parent class that we wrote the data. 27 // the parent class that we wrote the data.
27 #define kFtpBufferTimeMs 50 28 #define kFtpBufferTimeMs 50
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 524
524 *location = request_->url().ReplaceComponents(replacements); 525 *location = request_->url().ReplaceComponents(replacements);
525 *http_status_code = 301; // simulate a permanent redirect 526 *http_status_code = 301; // simulate a permanent redirect
526 return true; 527 return true;
527 } 528 }
528 } 529 }
529 530
530 return false; 531 return false;
531 } 532 }
532 533
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698