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

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

Issue 11106009: drive: Add the local largest changestamp to chrome:drive-internals (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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
Index: chrome/browser/chromeos/drive/file_system/move_operation.cc
diff --git a/chrome/browser/chromeos/drive/file_system/move_operation.cc b/chrome/browser/chromeos/drive/file_system/move_operation.cc
index 3ec9b8f9c01bee94518427cb8cf467b3b003494f..1036cb02b1263dc9c453d70a5b80ef5e9a472dee 100644
--- a/chrome/browser/chromeos/drive/file_system/move_operation.cc
+++ b/chrome/browser/chromeos/drive/file_system/move_operation.cc
@@ -35,7 +35,7 @@ void MoveOperation::Move(const FilePath& src_file_path,
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
DCHECK(!callback.is_null());
- file_system_->ResourceMetadata()->GetEntryInfoPairByPaths(
+ file_system_->GetResourceMetadata()->GetEntryInfoPairByPaths(
src_file_path,
dest_file_path.DirName(),
base::Bind(&MoveOperation::MoveAfterGetEntryInfoPair,
@@ -126,7 +126,7 @@ void MoveOperation::Rename(const FilePath& file_path,
}
// Get the edit URL of an entry at |file_path|.
- file_system_->ResourceMetadata()->GetEntryInfoByPath(
+ file_system_->GetResourceMetadata()->GetEntryInfoByPath(
file_path,
base::Bind(
&MoveOperation::RenameAfterGetEntryInfo,
@@ -189,7 +189,7 @@ void MoveOperation::RenameEntryLocally(
return;
}
- file_system_->ResourceMetadata()->RenameEntry(
+ file_system_->GetResourceMetadata()->RenameEntry(
file_path,
new_name,
base::Bind(&MoveOperation::NotifyAndRunFileMoveCallback,
@@ -211,7 +211,7 @@ void MoveOperation::RemoveEntryFromNonRootDirectory(
return;
}
- file_system_->ResourceMetadata()->GetEntryInfoPairByPaths(
+ file_system_->GetResourceMetadata()->GetEntryInfoPairByPaths(
file_path,
dir_path,
base::Bind(
@@ -252,7 +252,7 @@ void MoveOperation::RemoveEntryFromNonRootDirectoryAfterEntryInfoPair(
base::Bind(&MoveOperation::MoveEntryToDirectory,
weak_ptr_factory_.GetWeakPtr(),
file_path,
- file_system_->ResourceMetadata()->root()->GetFilePath(),
+ file_system_->GetResourceMetadata()->root()->GetFilePath(),
base::Bind(&MoveOperation::NotifyAndRunFileMoveCallback,
weak_ptr_factory_.GetWeakPtr(),
callback)));
@@ -276,7 +276,7 @@ void MoveOperation::MoveEntryFromRootDirectory(
return;
}
- file_system_->ResourceMetadata()->GetEntryInfoPairByPaths(
+ file_system_->GetResourceMetadata()->GetEntryInfoPairByPaths(
file_path,
directory_path,
base::Bind(
@@ -341,7 +341,7 @@ void MoveOperation::MoveEntryToDirectory(
return;
}
- file_system_->ResourceMetadata()->MoveEntryToDirectory(
+ file_system_->GetResourceMetadata()->MoveEntryToDirectory(
file_path, directory_path, callback);
}

Powered by Google App Engine
This is Rietveld 408576698