OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_CREATE_DIRECTORY_OPERATION_H_ | 5 #ifndef COMPONENTS_DRIVE_CHROMEOS_FILE_SYSTEM_CREATE_DIRECTORY_OPERATION_H_ |
6 #define COMPONENTS_DRIVE_CHROMEOS_FILE_SYSTEM_CREATE_DIRECTORY_OPERATION_H_ | 6 #define COMPONENTS_DRIVE_CHROMEOS_FILE_SYSTEM_CREATE_DIRECTORY_OPERATION_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
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/file_errors.h" | 14 #include "components/drive/file_errors.h" |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 class FilePath; | 17 class FilePath; |
18 class SequencedTaskRunner; | 18 class SequencedTaskRunner; |
19 } // namespace base | 19 } // namespace base |
20 | 20 |
21 namespace drive { | 21 namespace drive { |
22 | 22 |
23 class FileChange; | 23 class FileChange; |
24 class ResourceEntry; | |
25 | 24 |
26 namespace internal { | 25 namespace internal { |
27 class ResourceMetadata; | 26 class ResourceMetadata; |
28 } // namespace internal | 27 } // namespace internal |
29 | 28 |
30 namespace file_system { | 29 namespace file_system { |
31 | 30 |
32 class OperationDelegate; | 31 class OperationDelegate; |
33 | 32 |
34 // This class encapsulates the drive Create Directory function. It is | 33 // This class encapsulates the drive Create Directory function. It is |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 // Note: This should remain the last member so it'll be destroyed and | 69 // Note: This should remain the last member so it'll be destroyed and |
71 // invalidate the weak pointers before any other members are destroyed. | 70 // invalidate the weak pointers before any other members are destroyed. |
72 base::WeakPtrFactory<CreateDirectoryOperation> weak_ptr_factory_; | 71 base::WeakPtrFactory<CreateDirectoryOperation> weak_ptr_factory_; |
73 DISALLOW_COPY_AND_ASSIGN(CreateDirectoryOperation); | 72 DISALLOW_COPY_AND_ASSIGN(CreateDirectoryOperation); |
74 }; | 73 }; |
75 | 74 |
76 } // namespace file_system | 75 } // namespace file_system |
77 } // namespace drive | 76 } // namespace drive |
78 | 77 |
79 #endif // COMPONENTS_DRIVE_CHROMEOS_FILE_SYSTEM_CREATE_DIRECTORY_OPERATION_H_ | 78 #endif // COMPONENTS_DRIVE_CHROMEOS_FILE_SYSTEM_CREATE_DIRECTORY_OPERATION_H_ |
OLD | NEW |