Index: chrome/browser/google_apis/mock_drive_service.h |
diff --git a/chrome/browser/google_apis/mock_drive_service.h b/chrome/browser/google_apis/mock_drive_service.h |
index 1539df9dd693e5c5d9cd08ef8fd4de64f50b9d46..39ec535867250486cc72a89ee673f0faef80c1da 100644 |
--- a/chrome/browser/google_apis/mock_drive_service.h |
+++ b/chrome/browser/google_apis/mock_drive_service.h |
@@ -80,8 +80,19 @@ class MockDriveService : public DriveServiceInterface { |
const GURL& download_url, |
const DownloadActionCallback& donwload_action_callback, |
const GetContentCallback& get_content_callback)); |
- MOCK_METHOD2(InitiateUpload, |
- void(const InitiateUploadParams& upload_file_info, |
+ MOCK_METHOD6(InitiateUploadNewFile, |
+ void(const FilePath& drive_file_path, |
+ const std::string& content_type, |
+ int64 content_length, |
+ const GURL& parent_upload_url, |
+ const std::string& title, |
+ const InitiateUploadCallback& callback)); |
+ MOCK_METHOD6(InitiateUploadExistingFile, |
+ void(const FilePath& drive_file_path, |
+ const std::string& content_type, |
+ int64 content_length, |
+ const GURL& upload_url, |
+ const std::string& etag, |
const InitiateUploadCallback& callback)); |
MOCK_METHOD2(ResumeUpload, |
void(const ResumeUploadParams& upload_file_info, |