| 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_FILE_SYSTEM_PROVIDER_OPERATIONS_CLOSE_FILE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_CLOSE_FILE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_CLOSE_FILE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_CLOSE_FILE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/files/file.h" | 10 #include "base/files/file.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "chrome/browser/chromeos/file_system_provider/operations/operation.h" | 12 #include "chrome/browser/chromeos/file_system_provider/operations/operation.h" |
| 13 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" | 13 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info
.h" |
| 14 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte
rface.h" | 14 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte
rface.h" |
| 15 #include "chrome/browser/chromeos/file_system_provider/request_value.h" | 15 #include "chrome/browser/chromeos/file_system_provider/request_value.h" |
| 16 #include "storage/browser/fileapi/async_file_util.h" | 16 #include "storage/browser/fileapi/async_file_util.h" |
| 17 | 17 |
| 18 namespace base { | |
| 19 class FilePath; | |
| 20 } // namespace base | |
| 21 | |
| 22 namespace extensions { | 18 namespace extensions { |
| 23 class EventRouter; | 19 class EventRouter; |
| 24 } // namespace extensions | 20 } // namespace extensions |
| 25 | 21 |
| 26 namespace chromeos { | 22 namespace chromeos { |
| 27 namespace file_system_provider { | 23 namespace file_system_provider { |
| 28 namespace operations { | 24 namespace operations { |
| 29 | 25 |
| 30 // Opens a file for either read or write, with optionally creating the file | 26 // Opens a file for either read or write, with optionally creating the file |
| 31 // first. Note, that this is part of storage::CreateOrOpen file, but it does | 27 // first. Note, that this is part of storage::CreateOrOpen file, but it does |
| (...skipping 20 matching lines...) Expand all Loading... |
| 52 const storage::AsyncFileUtil::StatusCallback callback_; | 48 const storage::AsyncFileUtil::StatusCallback callback_; |
| 53 | 49 |
| 54 DISALLOW_COPY_AND_ASSIGN(CloseFile); | 50 DISALLOW_COPY_AND_ASSIGN(CloseFile); |
| 55 }; | 51 }; |
| 56 | 52 |
| 57 } // namespace operations | 53 } // namespace operations |
| 58 } // namespace file_system_provider | 54 } // namespace file_system_provider |
| 59 } // namespace chromeos | 55 } // namespace chromeos |
| 60 | 56 |
| 61 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_CLOSE_FILE_H_ | 57 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_CLOSE_FILE_H_ |
| OLD | NEW |