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

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

Issue 15063005: Merge 198671 "Try fast-fetch rather than full fetch if drive::Fi..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1500/src/
Patch Set: Created 7 years, 7 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/chromeos/drive/file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/file_system.h
===================================================================
--- chrome/browser/chromeos/drive/file_system.h (revision 199688)
+++ chrome/browser/chromeos/drive/file_system.h (working copy)
@@ -323,16 +323,20 @@
FileError error,
scoped_ptr<ResourceEntry> entry);
- // Part of ReadDirectoryByPath()
- // 1) Called when ResourceMetadata::GetEntryInfoByPath() is complete.
- // 2) Called when LoadIfNeeded() is complete.
- // 3) Called when ResourceMetadata::ReadDirectoryByPath() is complete.
- // |callback| must not be null.
- void ReadDirectoryByPathAfterGetEntry(
+ // 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 ReadDirectoryWithSettingCallback& callback,
+ const FileOperationCallback& callback,
FileError error,
scoped_ptr<ResourceEntry> entry);
+
+ // Part of ReadDirectoryByPath()
+ // 1) Called when LoadDirectoryIfNeeded() is complete.
+ // 2) Called when ResourceMetadata::ReadDirectoryByPath() is complete.
+ // |callback| must not be null.
void ReadDirectoryByPathAfterLoad(
const base::FilePath& directory_path,
const ReadDirectoryWithSettingCallback& callback,
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698