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

Unified Diff: chrome/browser/sync_file_system/drive_backend_v1/fake_drive_uploader.cc

Issue 139153003: drive: Return NOT_FOUND from FakeDriveService after the entry gets deleted (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | « chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/drive_backend_v1/fake_drive_uploader.cc
diff --git a/chrome/browser/sync_file_system/drive_backend_v1/fake_drive_uploader.cc b/chrome/browser/sync_file_system/drive_backend_v1/fake_drive_uploader.cc
index 2a76c005ccf97bca0b4073e5d92bdd95841ca2c2..71d132574ba14f21db0acdbf3cdff423ecae691b 100644
--- a/chrome/browser/sync_file_system/drive_backend_v1/fake_drive_uploader.cc
+++ b/chrome/browser/sync_file_system/drive_backend_v1/fake_drive_uploader.cc
@@ -49,12 +49,10 @@ void DidGetResourceEntryForUploadExisting(
const UploadCompletionCallback& callback,
GDataErrorCode error,
scoped_ptr<ResourceEntry> entry) {
- ASSERT_EQ(google_apis::HTTP_SUCCESS, error);
- ASSERT_TRUE(entry);
base::MessageLoopProxy::current()->PostTask(
FROM_HERE,
base::Bind(callback,
- google_apis::HTTP_SUCCESS,
+ error,
GURL(),
base::Passed(&entry)));
}
« no previous file with comments | « chrome/browser/sync_file_system/drive_backend/local_to_remote_syncer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698