| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_H_ | 5 #ifndef COMPONENTS_DRIVE_CHROMEOS_FILE_SYSTEM_H_ |
| 6 #define COMPONENTS_DRIVE_CHROMEOS_FILE_SYSTEM_H_ | 6 #define COMPONENTS_DRIVE_CHROMEOS_FILE_SYSTEM_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 16 #include "base/observer_list.h" | 17 #include "base/observer_list.h" |
| 17 #include "base/threading/thread_checker.h" | 18 #include "base/threading/thread_checker.h" |
| 18 #include "components/drive/chromeos/change_list_loader_observer.h" | 19 #include "components/drive/chromeos/change_list_loader_observer.h" |
| 19 #include "components/drive/chromeos/file_system/operation_delegate.h" | 20 #include "components/drive/chromeos/file_system/operation_delegate.h" |
| 20 #include "components/drive/chromeos/file_system_interface.h" | 21 #include "components/drive/chromeos/file_system_interface.h" |
| 21 #include "google_apis/drive/drive_api_error_codes.h" | 22 #include "google_apis/drive/drive_api_error_codes.h" |
| 22 | 23 |
| 23 class PrefService; | 24 class PrefService; |
| 24 | 25 |
| 25 namespace base { | 26 namespace base { |
| 26 class SequencedTaskRunner; | 27 class SequencedTaskRunner; |
| 28 class SingleThreadTaskRunner; |
| 27 } // namespace base | 29 } // namespace base |
| 28 | 30 |
| 29 namespace google_apis { | 31 namespace google_apis { |
| 30 class AboutResource; | 32 class AboutResource; |
| 31 class ResourceEntry; | 33 class ResourceEntry; |
| 32 } // namespace google_apis | 34 } // namespace google_apis |
| 33 | 35 |
| 34 namespace drive { | 36 namespace drive { |
| 35 struct ClientContext; | 37 struct ClientContext; |
| 36 class EventLogger; | 38 class EventLogger; |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 // Note: This should remain the last member so it'll be destroyed and | 308 // Note: This should remain the last member so it'll be destroyed and |
| 307 // invalidate the weak pointers before any other members are destroyed. | 309 // invalidate the weak pointers before any other members are destroyed. |
| 308 base::WeakPtrFactory<FileSystem> weak_ptr_factory_; | 310 base::WeakPtrFactory<FileSystem> weak_ptr_factory_; |
| 309 | 311 |
| 310 DISALLOW_COPY_AND_ASSIGN(FileSystem); | 312 DISALLOW_COPY_AND_ASSIGN(FileSystem); |
| 311 }; | 313 }; |
| 312 | 314 |
| 313 } // namespace drive | 315 } // namespace drive |
| 314 | 316 |
| 315 #endif // COMPONENTS_DRIVE_CHROMEOS_FILE_SYSTEM_H_ | 317 #endif // COMPONENTS_DRIVE_CHROMEOS_FILE_SYSTEM_H_ |
| OLD | NEW |