| Index: chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h
|
| diff --git a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h
|
| index 277f712787d4e0371aabf2c8f89359603636935b..56c65c4036d6850ac1a8a8340d100f3b43b1a0d4 100644
|
| --- a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h
|
| +++ b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h
|
| @@ -5,19 +5,36 @@
|
| #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_REMOTE_TO_LOCAL_SYNCER_H_
|
| #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_REMOTE_TO_LOCAL_SYNCER_H_
|
|
|
| +#include "base/memory/weak_ptr.h"
|
| +#include "chrome/browser/sync_file_system/remote_change_processor.h"
|
| #include "chrome/browser/sync_file_system/sync_callbacks.h"
|
| #include "chrome/browser/sync_file_system/sync_task.h"
|
|
|
| +namespace drive {
|
| +class DriveServiceInterface;
|
| +}
|
| +
|
| namespace sync_file_system {
|
| namespace drive_backend {
|
|
|
| +class MetadataDatabase;
|
| +class SyncEngineContext;
|
| +
|
| class RemoteToLocalSyncer : public SyncTask {
|
| public:
|
| - RemoteToLocalSyncer();
|
| + explicit RemoteToLocalSyncer(SyncEngineContext* sync_context);
|
| virtual ~RemoteToLocalSyncer();
|
| virtual void Run(const SyncStatusCallback& callback) OVERRIDE;
|
|
|
| private:
|
| + drive::DriveServiceInterface* drive_service();
|
| + MetadataDatabase* metadata_database();
|
| + RemoteChangeProcessor* remote_change_processor();
|
| +
|
| + SyncEngineContext* sync_context_; // Not owned.
|
| +
|
| + base::WeakPtrFactory<RemoteToLocalSyncer> weak_ptr_factory_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(RemoteToLocalSyncer);
|
| };
|
|
|
|
|