Index: chrome/browser/google_apis/drive_api_service.cc |
diff --git a/chrome/browser/google_apis/drive_api_service.cc b/chrome/browser/google_apis/drive_api_service.cc |
index 66edb1b6b9d3c2ac4406fbb4c445d13485e233b1..e57dd4c1a68604191a41137e4d599bf75158f0d2 100644 |
--- a/chrome/browser/google_apis/drive_api_service.cc |
+++ b/chrome/browser/google_apis/drive_api_service.cc |
@@ -446,13 +446,31 @@ void DriveAPIService::RemoveResourceFromDirectory( |
callback)); |
} |
-void DriveAPIService::InitiateUpload( |
- const InitiateUploadParams& params, |
+void DriveAPIService::InitiateUploadNewFile( |
+ 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) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
DCHECK(!callback.is_null()); |
- // TODO(kochi): Implement this. |
+ // TODO(hidehiko): Implement this. |
+ NOTREACHED(); |
+} |
+ |
+void DriveAPIService::InitiateUploadExistingFile( |
+ const FilePath& drive_file_path, |
+ const std::string& content_type, |
+ int64 content_length, |
+ const GURL& upload_url, |
+ const std::string& etag, |
+ const InitiateUploadCallback& callback) { |
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK(!callback.is_null()); |
+ |
+ // TODO(hidehiko): Implement this. |
NOTREACHED(); |
} |