| 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 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_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.h" | 12 #include "base/callback.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "storage/browser/fileapi/async_file_util.h" | 14 #include "storage/browser/fileapi/async_file_util.h" |
| 15 | 15 |
| 16 namespace drive { | 16 namespace drive { |
| 17 | 17 |
| 18 class FileSystemInterface; | |
| 19 | |
| 20 namespace internal { | 18 namespace internal { |
| 21 | 19 |
| 22 // The implementation of storage::AsyncFileUtil for Drive File System. | 20 // The implementation of storage::AsyncFileUtil for Drive File System. |
| 23 class AsyncFileUtil : public storage::AsyncFileUtil { | 21 class AsyncFileUtil : public storage::AsyncFileUtil { |
| 24 public: | 22 public: |
| 25 AsyncFileUtil(); | 23 AsyncFileUtil(); |
| 26 ~AsyncFileUtil() override; | 24 ~AsyncFileUtil() override; |
| 27 | 25 |
| 28 // storage::AsyncFileUtil overrides. | 26 // storage::AsyncFileUtil overrides. |
| 29 void CreateOrOpen( | 27 void CreateOrOpen( |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 const CreateSnapshotFileCallback& callback) override; | 91 const CreateSnapshotFileCallback& callback) override; |
| 94 | 92 |
| 95 private: | 93 private: |
| 96 DISALLOW_COPY_AND_ASSIGN(AsyncFileUtil); | 94 DISALLOW_COPY_AND_ASSIGN(AsyncFileUtil); |
| 97 }; | 95 }; |
| 98 | 96 |
| 99 } // namespace internal | 97 } // namespace internal |
| 100 } // namespace drive | 98 } // namespace drive |
| 101 | 99 |
| 102 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_ | 100 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILEAPI_ASYNC_FILE_UTIL_H_ |
| OLD | NEW |