| 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 CHROME_BROWSER_CHROMEOS_DRIVE_SYNC_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_SYNC_CLIENT_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_SYNC_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_SYNC_CLIENT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
| 16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
| 17 #include "chrome/browser/chromeos/drive/resource_metadata.h" | |
| 18 #include "components/drive/file_errors.h" | 17 #include "components/drive/file_errors.h" |
| 19 #include "components/drive/job_scheduler.h" | 18 #include "components/drive/job_scheduler.h" |
| 19 #include "components/drive/resource_metadata.h" |
| 20 | 20 |
| 21 namespace base { | 21 namespace base { |
| 22 class SequencedTaskRunner; | 22 class SequencedTaskRunner; |
| 23 } | 23 } |
| 24 | 24 |
| 25 namespace drive { | 25 namespace drive { |
| 26 | 26 |
| 27 class FileCacheEntry; | 27 class FileCacheEntry; |
| 28 class JobScheduler; | 28 class JobScheduler; |
| 29 class ResourceEntry; | 29 class ResourceEntry; |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 // invalidate its weak pointers before any other members are destroyed. | 190 // invalidate its weak pointers before any other members are destroyed. |
| 191 base::WeakPtrFactory<SyncClient> weak_ptr_factory_; | 191 base::WeakPtrFactory<SyncClient> weak_ptr_factory_; |
| 192 | 192 |
| 193 DISALLOW_COPY_AND_ASSIGN(SyncClient); | 193 DISALLOW_COPY_AND_ASSIGN(SyncClient); |
| 194 }; | 194 }; |
| 195 | 195 |
| 196 } // namespace internal | 196 } // namespace internal |
| 197 } // namespace drive | 197 } // namespace drive |
| 198 | 198 |
| 199 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_SYNC_CLIENT_H_ | 199 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_SYNC_CLIENT_H_ |
| OLD | NEW |