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

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

Issue 23258006: drive: Move RefreshDirectory from ResourceMetadata to ChangeListLoader (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment fix Created 7 years, 4 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.cc
diff --git a/chrome/browser/chromeos/drive/file_system.cc b/chrome/browser/chromeos/drive/file_system.cc
index 25b1dbd6bbc6465972c6bbef016e52771620316b..2d527f933ba07ba3c2e362271f151f898a0ccfff 100644
--- a/chrome/browser/chromeos/drive/file_system.cc
+++ b/chrome/browser/chromeos/drive/file_system.cc
@@ -242,7 +242,7 @@ void FileSystem::ReloadAfterReset(FileError error) {
SetupChangeListLoader();
change_list_loader_->LoadIfNeeded(
- DirectoryFetchInfo(),
+ internal::DirectoryFetchInfo(),
base::Bind(&FileSystem::OnUpdateChecked,
weak_ptr_factory_.GetWeakPtr()));
}
@@ -333,7 +333,7 @@ void FileSystem::CreateDirectory(
DCHECK(!callback.is_null());
change_list_loader_->LoadIfNeeded(
- DirectoryFetchInfo(),
+ internal::DirectoryFetchInfo(),
base::Bind(&FileSystem::CreateDirectoryAfterLoad,
weak_ptr_factory_.GetWeakPtr(),
directory_path, is_exclusive, is_recursive, callback));
@@ -635,7 +635,7 @@ void FileSystem::LoadDirectoryIfNeededAfterGetEntry(
// If we don't know about the directory, or it is the "drive/other"
// directory that has to gather all orphan entries, start loading full
// resource list.
- change_list_loader_->LoadIfNeeded(DirectoryFetchInfo(), callback);
+ change_list_loader_->LoadIfNeeded(internal::DirectoryFetchInfo(), callback);
return;
}
@@ -646,7 +646,7 @@ void FileSystem::LoadDirectoryIfNeededAfterGetEntry(
// Pass the directory fetch info so we can fetch the contents of the
// directory before loading change lists.
- DirectoryFetchInfo directory_fetch_info(
+ internal::DirectoryFetchInfo directory_fetch_info(
entry->resource_id(),
entry->directory_specific_info().changestamp());
change_list_loader_->LoadIfNeeded(directory_fetch_info, callback);

Powered by Google App Engine
This is Rietveld 408576698