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

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

Issue 10735059: gdata cleanup: Make GDataFileSystem::AddUploadedFile() take scoped_ptr<DocumentEntry>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase @ revision 146183. Created 8 years, 5 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_file_system.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 f3600bd25722cf7c3f680879e11ccd83f83d7f4c..c54569708a6a652d735a6a5ac388c686edd7ac14 100644
--- a/chrome/browser/chromeos/gdata/mock_gdata_file_system.h
+++ b/chrome/browser/chromeos/gdata/mock_gdata_file_system.h
@@ -82,13 +82,13 @@ class MockGDataFileSystem : public GDataFileSystemInterface {
void(const FilePath& file_path));
MOCK_METHOD1(GetAvailableSpace,
void(const GetAvailableSpaceCallback& callback));
- MOCK_METHOD6(AddUploadedFile,
- void(UploadMode upload_mode,
- const FilePath& file,
- DocumentEntry* entry,
- const FilePath& file_content_path,
- GDataCache::FileOperationType cache_operation,
- const base::Closure& callback));
+ // This function is not mockable by gmock because scoped_ptr is not supported.
+ virtual void AddUploadedFile(UploadMode upload_mode,
+ const FilePath& file,
+ scoped_ptr<DocumentEntry> entry,
+ const FilePath& file_content_path,
+ GDataCache::FileOperationType cache_operation,
+ const base::Closure& callback) OVERRIDE {}
};
} // namespace gdata
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_file_system.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698