| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_DIR_JOB_H_ | 5 #ifndef NET_URL_REQUEST_URL_REQUEST_FILE_DIR_JOB_H_ |
| 6 #define NET_URL_REQUEST_URL_REQUEST_FILE_DIR_JOB_H_ | 6 #define NET_URL_REQUEST_URL_REQUEST_FILE_DIR_JOB_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 12 #include "net/base/directory_lister.h" | 13 #include "net/base/directory_lister.h" |
| 13 #include "net/base/net_errors.h" | 14 #include "net/base/net_errors.h" |
| 14 #include "net/url_request/url_request_job.h" | 15 #include "net/url_request/url_request_job.h" |
| 15 | 16 |
| 16 namespace net { | 17 namespace net { |
| 17 | 18 |
| 18 class URLRequestFileDirJob | 19 class URLRequestFileDirJob |
| 19 : public URLRequestJob, | 20 : public URLRequestJob, |
| 20 public DirectoryLister::DirectoryListerDelegate { | 21 public DirectoryLister::DirectoryListerDelegate { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 int read_buffer_length_; | 71 int read_buffer_length_; |
| 71 | 72 |
| 72 base::WeakPtrFactory<URLRequestFileDirJob> weak_factory_; | 73 base::WeakPtrFactory<URLRequestFileDirJob> weak_factory_; |
| 73 | 74 |
| 74 DISALLOW_COPY_AND_ASSIGN(URLRequestFileDirJob); | 75 DISALLOW_COPY_AND_ASSIGN(URLRequestFileDirJob); |
| 75 }; | 76 }; |
| 76 | 77 |
| 77 } // namespace net | 78 } // namespace net |
| 78 | 79 |
| 79 #endif // NET_URL_REQUEST_URL_REQUEST_FILE_DIR_JOB_H_ | 80 #endif // NET_URL_REQUEST_URL_REQUEST_FILE_DIR_JOB_H_ |
| OLD | NEW |