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

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

Issue 14067009: drive: Call LoadIfNeeded before CreateDirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 8 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/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/drive_file_system.h
diff --git a/chrome/browser/chromeos/drive/drive_file_system.h b/chrome/browser/chromeos/drive/drive_file_system.h
index f8d86d436a1b39abe600f4d1bbfc75786fe1cea7..525485dfb4b47cdb92dcf00f6be8d6103dfb0eaf 100644
--- a/chrome/browser/chromeos/drive/drive_file_system.h
+++ b/chrome/browser/chromeos/drive/drive_file_system.h
@@ -204,6 +204,14 @@ class DriveFileSystem : public DriveFileSystemInterface,
const base::FilePath& drive_file_path,
scoped_ptr<DriveEntryProto> entry_proto);
+ // Part of CreateDirectory(). Called after ChangeListLoader::LoadIfNeeded()
+ // is called and made sure that the resource metadata is loaded.
+ void CreateDirectoryAfterLoad(const base::FilePath& directory_path,
+ bool is_exclusive,
+ bool is_recursive,
+ const FileOperationCallback& callback,
+ FileError load_error);
+
// Invoked during the process of CreateFile.
// First, FindEntryByPathAsync is called and the result is returned
// to OnGetEntryInfoForCreateFile. By using the information, CreateFile deals
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/drive_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698