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_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_SERVICE_H_ |
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_SERVICE_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_SERVICE_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/callback.h" | 14 #include "base/callback.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
17 #include "base/observer_list.h" | 17 #include "base/observer_list.h" |
18 #include "base/threading/non_thread_safe.h" | 18 #include "base/threading/non_thread_safe.h" |
19 #include "chrome/browser/google_apis/drive_notification_observer.h" | 19 #include "chrome/browser/google_apis/drive_notification_observer.h" |
20 #include "chrome/browser/sync_file_system/drive/api_util_interface.h" | 20 #include "chrome/browser/sync_file_system/drive/api_util_interface.h" |
21 #include "chrome/browser/sync_file_system/drive_metadata_store.h" | 21 #include "chrome/browser/sync_file_system/drive_metadata_store.h" |
22 #include "chrome/browser/sync_file_system/local_change_processor.h" | 22 #include "chrome/browser/sync_file_system/local_change_processor.h" |
23 #include "chrome/browser/sync_file_system/local_sync_operation_resolver.h" | 23 #include "chrome/browser/sync_file_system/local_sync_operation_resolver.h" |
24 #include "chrome/browser/sync_file_system/remote_change_handler.h" | 24 #include "chrome/browser/sync_file_system/remote_change_handler.h" |
25 #include "chrome/browser/sync_file_system/remote_file_sync_service.h" | 25 #include "chrome/browser/sync_file_system/remote_file_sync_service.h" |
26 #include "chrome/browser/sync_file_system/sync_file_system.pb.h" | 26 #include "chrome/browser/sync_file_system/sync_file_system.pb.h" |
27 #include "webkit/fileapi/syncable/file_change.h" | 27 #include "webkit/browser/fileapi/syncable/file_change.h" |
28 #include "webkit/fileapi/syncable/sync_action.h" | 28 #include "webkit/browser/fileapi/syncable/sync_action.h" |
29 #include "webkit/fileapi/syncable/sync_callbacks.h" | 29 #include "webkit/browser/fileapi/syncable/sync_callbacks.h" |
30 #include "webkit/fileapi/syncable/sync_direction.h" | 30 #include "webkit/browser/fileapi/syncable/sync_direction.h" |
31 #include "webkit/fileapi/syncable/sync_status_code.h" | 31 #include "webkit/browser/fileapi/syncable/sync_status_code.h" |
32 | 32 |
33 class ExtensionService; | 33 class ExtensionService; |
34 | 34 |
35 namespace google_apis { | 35 namespace google_apis { |
36 class ResourceList; | 36 class ResourceList; |
37 } | 37 } |
38 | 38 |
39 namespace tracked_objects { | 39 namespace tracked_objects { |
40 class Location; | 40 class Location; |
41 } | 41 } |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 RemoteChangeProcessor* remote_change_processor_; | 423 RemoteChangeProcessor* remote_change_processor_; |
424 | 424 |
425 ConflictResolutionPolicy conflict_resolution_; | 425 ConflictResolutionPolicy conflict_resolution_; |
426 | 426 |
427 DISALLOW_COPY_AND_ASSIGN(DriveFileSyncService); | 427 DISALLOW_COPY_AND_ASSIGN(DriveFileSyncService); |
428 }; | 428 }; |
429 | 429 |
430 } // namespace sync_file_system | 430 } // namespace sync_file_system |
431 | 431 |
432 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_SERVICE_H_ | 432 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_SERVICE_H_ |
OLD | NEW |