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

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

Issue 10880075: drive: Fix a crash caused by an empty edit URL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor fix 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/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/gdata/drive_file_system.h
diff --git a/chrome/browser/chromeos/gdata/drive_file_system.h b/chrome/browser/chromeos/gdata/drive_file_system.h
index 4179dff411cb84423358e9b8bd1427b32ed78f99..3143b98b74d52ebdc602ef09d1b1260e0a488c1e 100644
--- a/chrome/browser/chromeos/gdata/drive_file_system.h
+++ b/chrome/browser/chromeos/gdata/drive_file_system.h
@@ -489,7 +489,7 @@ class DriveFileSystem : public DriveFileSystemInterface,
// Callback for DriveServiceInterface::DeleteDocument. Removes the entry with
// |resource_id| from the local snapshot of the filesystem and the cache.
- // |document_url| is unused. |callback| may be null.
+ // |document_url| is unused. |callback| must not be null.
void RemoveResourceLocally(const FileOperationCallback& callback,
const std::string& resource_id,
GDataErrorCode status,
@@ -780,6 +780,7 @@ class DriveFileSystem : public DriveFileSystemInterface,
// Part of RemoveOnUIThread(). Called after GetEntryInfoByPath() is
// complete.
+ // |callback| must not be null.
void RemoveOnUIThreadAfterGetEntryInfo(
const FileOperationCallback& callback,
DriveFileError error,
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/drive_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698