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

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

Issue 101143006: Convert base::file_util to use File instead of PlatformFile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove base:: Created 6 years, 11 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/proxy/proxy_config_service_linux.cc ('k') | net/url_request/url_request_file_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_FILE_JOB_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_FILE_JOB_H_
6 #define NET_URL_REQUEST_URL_REQUEST_FILE_JOB_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_FILE_JOB_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "net/base/net_export.h" 14 #include "net/base/net_export.h"
15 #include "net/http/http_byte_range.h" 15 #include "net/http/http_byte_range.h"
16 #include "net/url_request/url_request.h" 16 #include "net/url_request/url_request.h"
17 #include "net/url_request/url_request_job.h" 17 #include "net/url_request/url_request_job.h"
18 18
19 namespace base{ 19 namespace base{
20 struct PlatformFileInfo;
21 class TaskRunner; 20 class TaskRunner;
22 } 21 }
23 namespace file_util { 22 namespace file_util {
24 struct FileInfo; 23 struct FileInfo;
25 } 24 }
26 25
27 namespace net { 26 namespace net {
28 27
29 class FileStream; 28 class FileStream;
30 29
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 int64 remaining_bytes_; 99 int64 remaining_bytes_;
101 100
102 base::WeakPtrFactory<URLRequestFileJob> weak_ptr_factory_; 101 base::WeakPtrFactory<URLRequestFileJob> weak_ptr_factory_;
103 102
104 DISALLOW_COPY_AND_ASSIGN(URLRequestFileJob); 103 DISALLOW_COPY_AND_ASSIGN(URLRequestFileJob);
105 }; 104 };
106 105
107 } // namespace net 106 } // namespace net
108 107
109 #endif // NET_URL_REQUEST_URL_REQUEST_FILE_JOB_H_ 108 #endif // NET_URL_REQUEST_URL_REQUEST_FILE_JOB_H_
OLDNEW
« no previous file with comments | « net/proxy/proxy_config_service_linux.cc ('k') | net/url_request/url_request_file_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698