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

Unified Diff: chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc

Issue 554213002: [SyncFS] Run RemoteToLocalSyncer as a background task (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 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.h » ('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/local_to_remote_syncer.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc b/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc
index 0cb37831f926c368fdb9e8318561e4f29bba080c..e2ed20193c01ef16f9f327886c286205d3df294a 100644
--- a/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc
+++ b/chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer.cc
@@ -290,7 +290,7 @@ void LocalToRemoteSyncer::ContinueAsBackgroundTask(
// and may delete FileTracker. So, ensure |change_id| is not changed and
// check if FileTracker still exists.
// - For UninstallAppTask, it may also delete FileMetadata and FileTracker.
- // And also, check if FileTracker still exists.
+ // Check if FileTracker still exists.
// - Others, SyncEngineInitializer and RegisterAppTask doesn't affect to
// LocalToRemoteSyncer.
if (remote_file_tracker_) {
@@ -663,8 +663,7 @@ void LocalToRemoteSyncer::DidUploadNewFile(
SyncCompleted(token.Pass(), status);
}
-void LocalToRemoteSyncer::CreateRemoteFolder(
- scoped_ptr<SyncTaskToken> token) {
+void LocalToRemoteSyncer::CreateRemoteFolder(scoped_ptr<SyncTaskToken> token) {
DCHECK(remote_parent_folder_tracker_);
base::FilePath title = storage::VirtualPath::BaseName(target_path_);
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698