OLD | NEW |
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 STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_ | 5 #ifndef STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_ |
6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_ | 6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/files/file.h" | 11 #include "base/files/file.h" |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/message_loop/message_loop_proxy.h" | |
15 #include "net/url_request/url_request_job.h" | 14 #include "net/url_request/url_request_job.h" |
16 #include "storage/browser/fileapi/file_system_url.h" | 15 #include "storage/browser/fileapi/file_system_url.h" |
17 #include "storage/browser/storage_browser_export.h" | 16 #include "storage/browser/storage_browser_export.h" |
18 | 17 |
19 namespace storage { | 18 namespace storage { |
20 | 19 |
21 class FileSystemContext; | 20 class FileSystemContext; |
22 struct DirectoryEntry; | 21 struct DirectoryEntry; |
23 | 22 |
24 // A request job that handles reading filesystem: URLs for directories. | 23 // A request job that handles reading filesystem: URLs for directories. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 const std::string storage_domain_; | 57 const std::string storage_domain_; |
59 FileSystemContext* file_system_context_; | 58 FileSystemContext* file_system_context_; |
60 base::WeakPtrFactory<FileSystemDirURLRequestJob> weak_factory_; | 59 base::WeakPtrFactory<FileSystemDirURLRequestJob> weak_factory_; |
61 | 60 |
62 DISALLOW_COPY_AND_ASSIGN(FileSystemDirURLRequestJob); | 61 DISALLOW_COPY_AND_ASSIGN(FileSystemDirURLRequestJob); |
63 }; | 62 }; |
64 | 63 |
65 } // namespace storage | 64 } // namespace storage |
66 | 65 |
67 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_ | 66 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_ |
OLD | NEW |