| 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 // This file provides File API related utilities. | 5 // This file provides File API related utilities. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILEAPI_UTIL_H_ | 7 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILEAPI_UTIL_H_ |
| 8 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILEAPI_UTIL_H_ | 8 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILEAPI_UTIL_H_ |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
| 13 #include "base/files/file.h" | 13 #include "base/files/file.h" |
| 14 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
| 15 #include "base/memory/scoped_ptr.h" |
| 15 #include "storage/browser/fileapi/file_system_operation_runner.h" | 16 #include "storage/browser/fileapi/file_system_operation_runner.h" |
| 16 #include "url/gurl.h" | 17 #include "url/gurl.h" |
| 17 | 18 |
| 18 class Profile; | 19 class Profile; |
| 19 | 20 |
| 20 namespace content { | 21 namespace content { |
| 21 struct FileChooserFileInfo; | 22 struct FileChooserFileInfo; |
| 22 class RenderFrameHost; | 23 class RenderFrameHost; |
| 23 } | 24 } |
| 24 | 25 |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 // external file system. | 163 // external file system. |
| 163 storage::FileSystemURL CreateIsolatedURLFromVirtualPath( | 164 storage::FileSystemURL CreateIsolatedURLFromVirtualPath( |
| 164 const storage::FileSystemContext& context, | 165 const storage::FileSystemContext& context, |
| 165 const GURL& origin, | 166 const GURL& origin, |
| 166 const base::FilePath& virtual_path); | 167 const base::FilePath& virtual_path); |
| 167 | 168 |
| 168 } // namespace util | 169 } // namespace util |
| 169 } // namespace file_manager | 170 } // namespace file_manager |
| 170 | 171 |
| 171 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILEAPI_UTIL_H_ | 172 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILEAPI_UTIL_H_ |
| OLD | NEW |