| 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 "storage/browser/fileapi/file_system_operation_runner.h" |
| 15 #include "url/gurl.h" | 16 #include "url/gurl.h" |
| 16 #include "webkit/browser/fileapi/file_system_operation_runner.h" | |
| 17 | 17 |
| 18 class Profile; | 18 class Profile; |
| 19 | 19 |
| 20 namespace content { | 20 namespace content { |
| 21 class RenderViewHost; | 21 class RenderViewHost; |
| 22 } | 22 } |
| 23 | 23 |
| 24 namespace storage { | 24 namespace storage { |
| 25 class FileSystemContext; | 25 class FileSystemContext; |
| 26 } | 26 } |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 // Checks if a directory exists at |url|. | 128 // Checks if a directory exists at |url|. |
| 129 void CheckIfDirectoryExists( | 129 void CheckIfDirectoryExists( |
| 130 scoped_refptr<storage::FileSystemContext> file_system_context, | 130 scoped_refptr<storage::FileSystemContext> file_system_context, |
| 131 const GURL& url, | 131 const GURL& url, |
| 132 const storage::FileSystemOperationRunner::StatusCallback& callback); | 132 const storage::FileSystemOperationRunner::StatusCallback& callback); |
| 133 | 133 |
| 134 } // namespace util | 134 } // namespace util |
| 135 } // namespace file_manager | 135 } // namespace file_manager |
| 136 | 136 |
| 137 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILEAPI_UTIL_H_ | 137 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILEAPI_UTIL_H_ |
| OLD | NEW |