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_SYNC_ENTRY_UPDATE_PERFORMER_H_ | 5 #ifndef COMPONENTS_DRIVE_CHROMEOS_SYNC_ENTRY_UPDATE_PERFORMER_H_ |
6 #define COMPONENTS_DRIVE_CHROMEOS_SYNC_ENTRY_UPDATE_PERFORMER_H_ | 6 #define COMPONENTS_DRIVE_CHROMEOS_SYNC_ENTRY_UPDATE_PERFORMER_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/file_errors.h" | 14 #include "components/drive/file_errors.h" |
15 #include "google_apis/drive/drive_api_error_codes.h" | 15 #include "google_apis/drive/drive_api_error_codes.h" |
16 | 16 |
17 namespace base { | 17 namespace base { |
18 class ScopedClosureRunner; | 18 class ScopedClosureRunner; |
19 class SequencedTaskRunner; | 19 class SequencedTaskRunner; |
20 } // namespace base | 20 } // namespace base |
21 | 21 |
22 namespace google_apis { | 22 namespace google_apis { |
23 class FileResource; | 23 class FileResource; |
24 } // namespace google_apis | 24 } // namespace google_apis |
25 | 25 |
26 namespace drive { | 26 namespace drive { |
27 | 27 |
28 class FileChange; | 28 class FileChange; |
29 class JobScheduler; | 29 class JobScheduler; |
30 class ResourceEntry; | |
31 struct ClientContext; | 30 struct ClientContext; |
32 | 31 |
33 namespace file_system { | 32 namespace file_system { |
34 class OperationDelegate; | 33 class OperationDelegate; |
35 } // namespace file_system | 34 } // namespace file_system |
36 | 35 |
37 namespace internal { | 36 namespace internal { |
38 | 37 |
39 class EntryRevertPerformer; | 38 class EntryRevertPerformer; |
40 class FileCache; | 39 class FileCache; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 // Note: This should remain the last member so it'll be destroyed and | 97 // Note: This should remain the last member so it'll be destroyed and |
99 // invalidate the weak pointers before any other members are destroyed. | 98 // invalidate the weak pointers before any other members are destroyed. |
100 base::WeakPtrFactory<EntryUpdatePerformer> weak_ptr_factory_; | 99 base::WeakPtrFactory<EntryUpdatePerformer> weak_ptr_factory_; |
101 DISALLOW_COPY_AND_ASSIGN(EntryUpdatePerformer); | 100 DISALLOW_COPY_AND_ASSIGN(EntryUpdatePerformer); |
102 }; | 101 }; |
103 | 102 |
104 } // namespace internal | 103 } // namespace internal |
105 } // namespace drive | 104 } // namespace drive |
106 | 105 |
107 #endif // COMPONENTS_DRIVE_CHROMEOS_SYNC_ENTRY_UPDATE_PERFORMER_H_ | 106 #endif // COMPONENTS_DRIVE_CHROMEOS_SYNC_ENTRY_UPDATE_PERFORMER_H_ |
OLD | NEW |