OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chrome/browser/chromeos/file_system_provider/fileapi/provider_async_fi
le_util.h" | 5 #include "chrome/browser/chromeos/file_system_provider/fileapi/provider_async_fi
le_util.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/files/file.h" | 8 #include "base/files/file.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "chrome/browser/chromeos/file_system_provider/mount_path_util.h" | 11 #include "chrome/browser/chromeos/file_system_provider/mount_path_util.h" |
12 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte
rface.h" | 12 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte
rface.h" |
13 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
| 14 #include "storage/browser/blob/shareable_file_reference.h" |
14 #include "storage/browser/fileapi/file_system_operation_context.h" | 15 #include "storage/browser/fileapi/file_system_operation_context.h" |
15 #include "storage/browser/fileapi/file_system_url.h" | 16 #include "storage/browser/fileapi/file_system_url.h" |
16 #include "storage/common/blob/shareable_file_reference.h" | |
17 | 17 |
18 using content::BrowserThread; | 18 using content::BrowserThread; |
19 | 19 |
20 namespace chromeos { | 20 namespace chromeos { |
21 namespace file_system_provider { | 21 namespace file_system_provider { |
22 namespace internal { | 22 namespace internal { |
23 namespace { | 23 namespace { |
24 | 24 |
25 // Executes GetFileInfo on the UI thread. | 25 // Executes GetFileInfo on the UI thread. |
26 void GetFileInfoOnUIThread( | 26 void GetFileInfoOnUIThread( |
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 NOTIMPLEMENTED(); | 461 NOTIMPLEMENTED(); |
462 callback.Run(base::File::FILE_ERROR_INVALID_OPERATION, | 462 callback.Run(base::File::FILE_ERROR_INVALID_OPERATION, |
463 base::File::Info(), | 463 base::File::Info(), |
464 base::FilePath(), | 464 base::FilePath(), |
465 scoped_refptr<storage::ShareableFileReference>()); | 465 scoped_refptr<storage::ShareableFileReference>()); |
466 } | 466 } |
467 | 467 |
468 } // namespace internal | 468 } // namespace internal |
469 } // namespace file_system_provider | 469 } // namespace file_system_provider |
470 } // namespace chromeos | 470 } // namespace chromeos |
OLD | NEW |