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_ABORT_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_ABORT_H_ |
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_ABORT_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_ABORT_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 // Aborts an operation. Created per request. | 26 // Aborts an operation. Created per request. |
31 class Abort : public Operation { | 27 class Abort : public Operation { |
(...skipping 18 matching lines...) Expand all Loading... |
50 const storage::AsyncFileUtil::StatusCallback callback_; | 46 const storage::AsyncFileUtil::StatusCallback callback_; |
51 | 47 |
52 DISALLOW_COPY_AND_ASSIGN(Abort); | 48 DISALLOW_COPY_AND_ASSIGN(Abort); |
53 }; | 49 }; |
54 | 50 |
55 } // namespace operations | 51 } // namespace operations |
56 } // namespace file_system_provider | 52 } // namespace file_system_provider |
57 } // namespace chromeos | 53 } // namespace chromeos |
58 | 54 |
59 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_ABORT_H_ | 55 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OPERATIONS_ABORT_H_ |
OLD | NEW |