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

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

Issue 10540132: gdata: Convert GDataFileSystem::AddUploadFile() to asynchronous. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comments to explain why Patch Set #11 is necesary. Created 8 years, 6 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/chromeos/gdata/gdata_uploader.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/gdata/mock_gdata_file_system.h
diff --git a/chrome/browser/chromeos/gdata/mock_gdata_file_system.h b/chrome/browser/chromeos/gdata/mock_gdata_file_system.h
index eded79ac83762e7068b7cf2f6dbdac36c9d34cac..35648f4f49bc6f44fa5ae0566c38f027a472f4a7 100644
--- a/chrome/browser/chromeos/gdata/mock_gdata_file_system.h
+++ b/chrome/browser/chromeos/gdata/mock_gdata_file_system.h
@@ -86,11 +86,12 @@ class MockGDataFileSystem : public GDataFileSystemInterface {
MOCK_METHOD3(SetPinState, void(const FilePath&,
bool,
const FileOperationCallback& callback));
- MOCK_METHOD4(AddUploadedFile,
+ MOCK_METHOD5(AddUploadedFile,
void(const FilePath& file,
DocumentEntry* entry,
const FilePath& file_content_path,
- GDataCache::FileOperationType cache_operation));
+ GDataCache::FileOperationType cache_operation,
+ const base::Closure& callback));
};
} // namespace gdata
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_uploader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698