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 <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/time.h" | 14 #include "base/time/time.h" |
15 #include "chrome/browser/chromeos/drive/file_errors.h" | 15 #include "chrome/browser/chromeos/drive/file_errors.h" |
16 | 16 |
17 namespace base { | 17 namespace base { |
18 class SequencedTaskRunner; | 18 class SequencedTaskRunner; |
19 } | 19 } |
20 | 20 |
21 namespace drive { | 21 namespace drive { |
22 | 22 |
23 class FileCacheEntry; | 23 class FileCacheEntry; |
24 class JobScheduler; | 24 class JobScheduler; |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 // invalidate its weak pointers before any other members are destroyed. | 156 // invalidate its weak pointers before any other members are destroyed. |
157 base::WeakPtrFactory<SyncClient> weak_ptr_factory_; | 157 base::WeakPtrFactory<SyncClient> weak_ptr_factory_; |
158 | 158 |
159 DISALLOW_COPY_AND_ASSIGN(SyncClient); | 159 DISALLOW_COPY_AND_ASSIGN(SyncClient); |
160 }; | 160 }; |
161 | 161 |
162 } // namespace internal | 162 } // namespace internal |
163 } // namespace drive | 163 } // namespace drive |
164 | 164 |
165 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_SYNC_CLIENT_H_ | 165 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_SYNC_CLIENT_H_ |
OLD | NEW |