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

Unified Diff: chrome/browser/chromeos/drive/file_system.cc

Issue 68543002: drive: Support offline delete (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move to drive/other and mark as deleted 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
Index: chrome/browser/chromeos/drive/file_system.cc
diff --git a/chrome/browser/chromeos/drive/file_system.cc b/chrome/browser/chromeos/drive/file_system.cc
index 8618bf1c23209058b7fc21139fbf7e91c58e20c2..57cb75209f30af3d224365427e841d75c64d16a9 100644
--- a/chrome/browser/chromeos/drive/file_system.cc
+++ b/chrome/browser/chromeos/drive/file_system.cc
@@ -297,7 +297,6 @@ void FileSystem::ResetComponents() {
remove_operation_.reset(
new file_system::RemoveOperation(blocking_task_runner_.get(),
observer,
- scheduler_,
resource_metadata_,
cache_));
touch_operation_.reset(new file_system::TouchOperation(
@@ -886,6 +885,10 @@ void FileSystem::OnCacheFileUploadNeededByOperation(
sync_client_->AddUploadTask(local_id);
}
+void FileSystem::OnEntryRemovedByOperation(const std::string& local_id) {
+ sync_client_->AddRemoveTask(local_id);
+}
+
void FileSystem::OnDirectoryChanged(const base::FilePath& directory_path) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));

Powered by Google App Engine
This is Rietveld 408576698