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 COMPONENTS_DRIVE_CHROMEOS_FILE_SYSTEM_GET_FILE_FOR_SAVING_OPERATION_H_ | 5 #ifndef COMPONENTS_DRIVE_CHROMEOS_FILE_SYSTEM_GET_FILE_FOR_SAVING_OPERATION_H_ |
6 #define COMPONENTS_DRIVE_CHROMEOS_FILE_SYSTEM_GET_FILE_FOR_SAVING_OPERATION_H_ | 6 #define COMPONENTS_DRIVE_CHROMEOS_FILE_SYSTEM_GET_FILE_FOR_SAVING_OPERATION_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/threading/thread_checker.h" | 13 #include "base/threading/thread_checker.h" |
14 #include "components/drive/chromeos/file_system_interface.h" | 14 #include "components/drive/chromeos/file_system_interface.h" |
15 #include "components/drive/file_errors.h" | 15 #include "components/drive/file_errors.h" |
16 | 16 |
17 namespace base { | 17 namespace base { |
18 class FilePath; | 18 class FilePath; |
19 class ScopedClosureRunner; | 19 class ScopedClosureRunner; |
20 class SequencedTaskRunner; | 20 class SequencedTaskRunner; |
| 21 class SingleThreadTaskRunner; |
21 } // namespace base | 22 } // namespace base |
22 | 23 |
23 namespace drive { | 24 namespace drive { |
24 namespace internal { | 25 namespace internal { |
25 class FileCache; | 26 class FileCache; |
26 class FileWriteWatcher; | 27 class FileWriteWatcher; |
27 class ResourceMetadata; | 28 class ResourceMetadata; |
28 } // namespace internal | 29 } // namespace internal |
29 | 30 |
30 class EventLogger; | 31 class EventLogger; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 // Note: This should remain the last member so it'll be destroyed and | 102 // Note: This should remain the last member so it'll be destroyed and |
102 // invalidate the weak pointers before any other members are destroyed. | 103 // invalidate the weak pointers before any other members are destroyed. |
103 base::WeakPtrFactory<GetFileForSavingOperation> weak_ptr_factory_; | 104 base::WeakPtrFactory<GetFileForSavingOperation> weak_ptr_factory_; |
104 DISALLOW_COPY_AND_ASSIGN(GetFileForSavingOperation); | 105 DISALLOW_COPY_AND_ASSIGN(GetFileForSavingOperation); |
105 }; | 106 }; |
106 | 107 |
107 } // namespace file_system | 108 } // namespace file_system |
108 } // namespace drive | 109 } // namespace drive |
109 | 110 |
110 #endif // COMPONENTS_DRIVE_CHROMEOS_FILE_SYSTEM_GET_FILE_FOR_SAVING_OPERATION_H
_ | 111 #endif // COMPONENTS_DRIVE_CHROMEOS_FILE_SYSTEM_GET_FILE_FOR_SAVING_OPERATION_H
_ |
OLD | NEW |