| 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_DRIVE_WRITE_ON_CACHE_FILE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_WRITE_ON_CACHE_FILE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_WRITE_ON_CACHE_FILE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_WRITE_ON_CACHE_FILE_H_ |
| 7 | 7 |
| 8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
| 9 #include "chrome/browser/chromeos/drive/file_errors.h" | 9 #include "components/drive/file_errors.h" |
| 10 | 10 |
| 11 namespace base { | 11 namespace base { |
| 12 class FilePath; | 12 class FilePath; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace drive { | 15 namespace drive { |
| 16 | 16 |
| 17 class FileSystemInterface; | 17 class FileSystemInterface; |
| 18 | 18 |
| 19 // Callback type for WriteOnCacheFile. | 19 // Callback type for WriteOnCacheFile. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 39 // after the completion. | 39 // after the completion. |
| 40 void WriteOnCacheFileAndReply(FileSystemInterface* file_system, | 40 void WriteOnCacheFileAndReply(FileSystemInterface* file_system, |
| 41 const base::FilePath& path, | 41 const base::FilePath& path, |
| 42 const std::string& mime_type, | 42 const std::string& mime_type, |
| 43 const WriteOnCacheFileCallback& callback, | 43 const WriteOnCacheFileCallback& callback, |
| 44 const FileOperationCallback& reply); | 44 const FileOperationCallback& reply); |
| 45 | 45 |
| 46 } // namespace drive | 46 } // namespace drive |
| 47 | 47 |
| 48 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_WRITE_ON_CACHE_FILE_H_ | 48 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_WRITE_ON_CACHE_FILE_H_ |
| OLD | NEW |