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

Unified Diff: chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h

Issue 59043010: [SyncFS] Implement RemoteToLocalSyncer::GetRemoteResource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remote_sync_handling
Patch Set: Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 519feef19b89a9fd0ebdb027e74b69fe525fb185..66d52ee5f00c5f6cd8772eb2a4fae8a21122d3be 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
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_REMOTE_TO_LOCAL_SYNCER_H_
#include "base/memory/weak_ptr.h"
+#include "chrome/browser/google_apis/gdata_errorcode.h"
#include "chrome/browser/sync_file_system/drive_backend/metadata_database.pb.h"
#include "chrome/browser/sync_file_system/remote_change_processor.h"
#include "chrome/browser/sync_file_system/sync_callbacks.h"
@@ -15,8 +16,8 @@ namespace drive {
class DriveServiceInterface;
}
-namespace drive {
-class DriveServiceInterface;
+namespace google_apis {
+class ResourceEntry;
}
namespace sync_file_system {
@@ -46,6 +47,10 @@ class RemoteToLocalSyncer : public SyncTask {
void ResolveRemoteChange(const SyncStatusCallback& callback);
void GetRemoteResource(const SyncStatusCallback& callback);
+ void DidGetRemoteResource(const SyncStatusCallback& callback,
+ int64 change_id,
+ google_apis::GDataErrorCode error,
+ scoped_ptr<google_apis::ResourceEntry> entry);
void HandleDeletion(const SyncStatusCallback& callback);
void HandleNewFile(const SyncStatusCallback& callback);
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698