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 WEBKIT_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_ | 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_ |
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_ | 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/file_path.h" | 12 #include "base/file_path.h" |
13 #include "base/file_util_proxy.h" | 13 #include "base/file_util_proxy.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/message_loop_proxy.h" | 15 #include "base/message_loop_proxy.h" |
16 #include "base/platform_file.h" | 16 #include "base/platform_file.h" |
17 #include "base/task.h" | |
18 #include "net/url_request/url_request_job.h" | 17 #include "net/url_request/url_request_job.h" |
19 | 18 |
20 namespace fileapi { | 19 namespace fileapi { |
21 class FileSystemContext; | 20 class FileSystemContext; |
22 class FileSystemOperation; | 21 class FileSystemOperation; |
23 | 22 |
24 // A request job that handles reading filesystem: URLs for directories. | 23 // A request job that handles reading filesystem: URLs for directories. |
25 class FileSystemDirURLRequestJob : public net::URLRequestJob { | 24 class FileSystemDirURLRequestJob : public net::URLRequestJob { |
26 public: | 25 public: |
27 FileSystemDirURLRequestJob( | 26 FileSystemDirURLRequestJob( |
(...skipping 28 matching lines...) Expand all Loading... |
56 FileSystemContext* file_system_context_; | 55 FileSystemContext* file_system_context_; |
57 scoped_refptr<base::MessageLoopProxy> file_thread_proxy_; | 56 scoped_refptr<base::MessageLoopProxy> file_thread_proxy_; |
58 base::WeakPtrFactory<FileSystemDirURLRequestJob> weak_factory_; | 57 base::WeakPtrFactory<FileSystemDirURLRequestJob> weak_factory_; |
59 | 58 |
60 DISALLOW_COPY_AND_ASSIGN(FileSystemDirURLRequestJob); | 59 DISALLOW_COPY_AND_ASSIGN(FileSystemDirURLRequestJob); |
61 }; | 60 }; |
62 | 61 |
63 } // namespace fileapi | 62 } // namespace fileapi |
64 | 63 |
65 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_ | 64 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_ |
OLD | NEW |