| 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 d16027e5f49df7ccc6b890f10d2036b867fc18c0..3c2ac1d0bd9d0ae646d9c199c8747bcf2834088c 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();
|
| }
|
|
|
|
|