Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Side by Side Diff: chrome/browser/sync_file_system/drive_backend/sync_engine.h

Issue 293003002: [SyncFS] Remove using MessageLoop in worker thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: RemoteToLocalSyncer Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BACKEND_SYNC_ENGINE_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_ENGINE_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_ENGINE_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_ENGINE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 26 matching lines...) Expand all
37 } 37 }
38 38
39 namespace sync_file_system { 39 namespace sync_file_system {
40 40
41 class RemoteChangeProcessor; 41 class RemoteChangeProcessor;
42 42
43 namespace drive_backend { 43 namespace drive_backend {
44 44
45 class DriveServiceWrapper; 45 class DriveServiceWrapper;
46 class DriveUploaderWrapper; 46 class DriveUploaderWrapper;
47 class LocalToRemoteSyncer;
48 class MetadataDatabase; 47 class MetadataDatabase;
49 class RemoteChangeProcessorOnWorker; 48 class RemoteChangeProcessorOnWorker;
50 class RemoteChangeProcessorWrapper; 49 class RemoteChangeProcessorWrapper;
51 class RemoteToLocalSyncer;
52 class SyncEngineInitializer;
53 class SyncTaskManager; 50 class SyncTaskManager;
54 class SyncWorker; 51 class SyncWorker;
55 52
56 class SyncEngine : public RemoteFileSyncService, 53 class SyncEngine : public RemoteFileSyncService,
57 public LocalChangeProcessor, 54 public LocalChangeProcessor,
58 public drive::DriveNotificationObserver, 55 public drive::DriveNotificationObserver,
59 public drive::DriveServiceObserver, 56 public drive::DriveServiceObserver,
60 public net::NetworkChangeNotifier::NetworkChangeObserver { 57 public net::NetworkChangeNotifier::NetworkChangeObserver {
61 public: 58 public:
62 typedef Observer SyncServiceObserver; 59 typedef Observer SyncServiceObserver;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 scoped_refptr<base::SequencedTaskRunner> worker_task_runner_; 189 scoped_refptr<base::SequencedTaskRunner> worker_task_runner_;
193 190
194 base::WeakPtrFactory<SyncEngine> weak_ptr_factory_; 191 base::WeakPtrFactory<SyncEngine> weak_ptr_factory_;
195 DISALLOW_COPY_AND_ASSIGN(SyncEngine); 192 DISALLOW_COPY_AND_ASSIGN(SyncEngine);
196 }; 193 };
197 194
198 } // namespace drive_backend 195 } // namespace drive_backend
199 } // namespace sync_file_system 196 } // namespace sync_file_system
200 197
201 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_ENGINE_H_ 198 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_SYNC_ENGINE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698