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

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

Issue 118993002: drive: Move FileSystem::LoadDirectoryIfNeeded to ChangeListLoader (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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.h
diff --git a/chrome/browser/chromeos/drive/file_system.h b/chrome/browser/chromeos/drive/file_system.h
index 0f47b699567905d2ddd3a572f556045c7e312e75..ee2dd6bafbc2b83d17fdd3dbbde3fea188467dc1 100644
--- a/chrome/browser/chromeos/drive/file_system.h
+++ b/chrome/browser/chromeos/drive/file_system.h
@@ -175,10 +175,6 @@ class FileSystem : public FileSystemInterface,
internal::SyncClient* sync_client_for_testing() { return sync_client_.get(); }
private:
- // Part of Reload(). This is called after the cache and the resource metadata
- // is cleared, and triggers full feed fetching.
- void ReloadAfterReset(const FileOperationCallback& callback, FileError error);
-
// Used for initialization and Reload(). (Re-)initializes sub components that
// need to be recreated during the reload of resource metadata and the cache.
void ResetComponents();
@@ -220,16 +216,6 @@ class FileSystem : public FileSystemInterface,
const GetResourceEntryCallback& callback,
FileError error);
- // Loads the entry info of the children of |directory_path| to resource
- // metadata. |callback| must not be null.
- void LoadDirectoryIfNeeded(const base::FilePath& directory_path,
- const FileOperationCallback& callback);
- void LoadDirectoryIfNeededAfterGetEntry(
- const base::FilePath& directory_path,
- const FileOperationCallback& callback,
- FileError error,
- scoped_ptr<ResourceEntry> entry);
-
// Part of ReadDirectory()
// 1) Called when LoadDirectoryIfNeeded() is complete.
// 2) Called when ResourceMetadata::ReadDirectory() is complete.

Powered by Google App Engine
This is Rietveld 408576698