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 COMPONENTS_DRIVE_CHROMEOS_DIRECTORY_LOADER_H_ | 5 #ifndef COMPONENTS_DRIVE_CHROMEOS_DIRECTORY_LOADER_H_ |
6 #define COMPONENTS_DRIVE_CHROMEOS_DIRECTORY_LOADER_H_ | 6 #define COMPONENTS_DRIVE_CHROMEOS_DIRECTORY_LOADER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 22 matching lines...) Expand all Loading... |
33 | 33 |
34 namespace drive { | 34 namespace drive { |
35 | 35 |
36 class EventLogger; | 36 class EventLogger; |
37 class JobScheduler; | 37 class JobScheduler; |
38 class ResourceEntry; | 38 class ResourceEntry; |
39 | 39 |
40 namespace internal { | 40 namespace internal { |
41 | 41 |
42 class AboutResourceLoader; | 42 class AboutResourceLoader; |
43 class ChangeList; | |
44 class ChangeListLoaderObserver; | 43 class ChangeListLoaderObserver; |
45 class DirectoryFetchInfo; | 44 class DirectoryFetchInfo; |
46 class LoaderController; | 45 class LoaderController; |
47 class ResourceMetadata; | 46 class ResourceMetadata; |
48 | 47 |
49 // DirectoryLoader is used to load directory contents. | 48 // DirectoryLoader is used to load directory contents. |
50 class DirectoryLoader { | 49 class DirectoryLoader { |
51 public: | 50 public: |
52 DirectoryLoader(EventLogger* logger, | 51 DirectoryLoader(EventLogger* logger, |
53 base::SequencedTaskRunner* blocking_task_runner, | 52 base::SequencedTaskRunner* blocking_task_runner, |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 // Note: This should remain the last member so it'll be destroyed and | 143 // Note: This should remain the last member so it'll be destroyed and |
145 // invalidate its weak pointers before any other members are destroyed. | 144 // invalidate its weak pointers before any other members are destroyed. |
146 base::WeakPtrFactory<DirectoryLoader> weak_ptr_factory_; | 145 base::WeakPtrFactory<DirectoryLoader> weak_ptr_factory_; |
147 DISALLOW_COPY_AND_ASSIGN(DirectoryLoader); | 146 DISALLOW_COPY_AND_ASSIGN(DirectoryLoader); |
148 }; | 147 }; |
149 | 148 |
150 } // namespace internal | 149 } // namespace internal |
151 } // namespace drive | 150 } // namespace drive |
152 | 151 |
153 #endif // COMPONENTS_DRIVE_CHROMEOS_DIRECTORY_LOADER_H_ | 152 #endif // COMPONENTS_DRIVE_CHROMEOS_DIRECTORY_LOADER_H_ |
OLD | NEW |