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

Unified Diff: chrome/browser/chromeos/gdata/gdata_file_system.h

Issue 10834295: gdata: Make callback parameters mandatory for CloseFile functions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/gdata/gdata_file_system.h
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system.h b/chrome/browser/chromeos/gdata/gdata_file_system.h
index 4e8dd920ea4e3044e5959bf36a7367cd8111ff83..a4c7469538c2b95b55f93588bfde6504c8bfea23 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system.h
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.h
@@ -272,6 +272,7 @@ class GDataFileSystem : public GDataFileSystemInterface,
// 5) Modifies GDataEntry using the new PlatformFileInfo.
// 6) Commits the modification to the cache system.
// 7) Invokes the user-supplied |callback|.
+ // |callback| must not be null.
void OnGetEntryInfoCompleteForCloseFile(
const FilePath& file_path,
const FileOperationCallback& callback,
@@ -290,7 +291,6 @@ class GDataFileSystem : public GDataFileSystemInterface,
bool* get_file_info_result,
const FileOperationCallback& callback);
void OnGetEntryCompleteForCloseFile(
- const FilePath& file_path,
const base::PlatformFileInfo& file_info,
const FileOperationCallback& callback,
GDataFileError error,
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698