OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_DELEGATE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_DELEGATE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_DELEGATE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
13 #include "storage/browser/fileapi/file_system_backend.h" | 13 #include "storage/browser/fileapi/file_system_backend.h" |
14 #include "storage/common/fileapi/file_system_types.h" | 14 #include "storage/common/fileapi/file_system_types.h" |
15 | 15 |
16 class GURL; | |
17 | |
18 namespace base { | 16 namespace base { |
19 class Time; | 17 class Time; |
20 } // namespace base | 18 } // namespace base |
21 | 19 |
22 namespace storage { | 20 namespace storage { |
23 class AsyncFileUtil; | 21 class AsyncFileUtil; |
24 class FileSystemContext; | 22 class FileSystemContext; |
25 class FileStreamReader; | 23 class FileStreamReader; |
26 class FileSystemURL; | 24 class FileSystemURL; |
27 class FileStreamWriter; | 25 class FileStreamWriter; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 // that the returned URL is secure to be opened in a browser tab, or referred | 61 // that the returned URL is secure to be opened in a browser tab, or referred |
64 // from <img>, <video>, XMLHttpRequest, etc... | 62 // from <img>, <video>, XMLHttpRequest, etc... |
65 virtual void GetRedirectURLForContents( | 63 virtual void GetRedirectURLForContents( |
66 const storage::FileSystemURL& url, | 64 const storage::FileSystemURL& url, |
67 const storage::URLCallback& callback) = 0; | 65 const storage::URLCallback& callback) = 0; |
68 }; | 66 }; |
69 | 67 |
70 } // namespace chromeos | 68 } // namespace chromeos |
71 | 69 |
72 #endif // CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_DELEGATE_H_ | 70 #endif // CHROME_BROWSER_CHROMEOS_FILEAPI_FILE_SYSTEM_BACKEND_DELEGATE_H_ |
OLD | NEW |