| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/google_apis/dummy_drive_service.h" | 5 #include "chrome/browser/google_apis/dummy_drive_service.h" |
| 6 | 6 |
| 7 namespace google_apis { | 7 namespace google_apis { |
| 8 | 8 |
| 9 DummyDriveService::DummyDriveService() {} | 9 DummyDriveService::DummyDriveService() {} |
| 10 | 10 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 void DummyDriveService::RemoveResourceFromDirectory( | 85 void DummyDriveService::RemoveResourceFromDirectory( |
| 86 const std::string& parent_resource_id, | 86 const std::string& parent_resource_id, |
| 87 const std::string& resource_id, | 87 const std::string& resource_id, |
| 88 const EntryActionCallback& callback) {} | 88 const EntryActionCallback& callback) {} |
| 89 | 89 |
| 90 void DummyDriveService::AddNewDirectory( | 90 void DummyDriveService::AddNewDirectory( |
| 91 const std::string& parent_resource_id, | 91 const std::string& parent_resource_id, |
| 92 const std::string& directory_name, | 92 const std::string& directory_name, |
| 93 const GetResourceEntryCallback& callback) {} | 93 const GetResourceEntryCallback& callback) {} |
| 94 | 94 |
| 95 void DummyDriveService::InitiateUpload(const InitiateUploadParams& params, | 95 void DummyDriveService::InitiateUploadNewFile( |
| 96 const InitiateUploadCallback& callback) { | 96 const FilePath& drive_file_path, |
| 97 } | 97 const std::string& content_type, |
| 98 int64 content_length, |
| 99 const GURL& parent_upload_url, |
| 100 const std::string& title, |
| 101 const InitiateUploadCallback& callback) {} |
| 102 |
| 103 void DummyDriveService::InitiateUploadExistingFile( |
| 104 const FilePath& drive_file_path, |
| 105 const std::string& content_type, |
| 106 int64 content_length, |
| 107 const GURL& upload_url, |
| 108 const std::string& etag, |
| 109 const InitiateUploadCallback& callback) {} |
| 98 | 110 |
| 99 void DummyDriveService::ResumeUpload(const ResumeUploadParams& params, | 111 void DummyDriveService::ResumeUpload(const ResumeUploadParams& params, |
| 100 const UploadRangeCallback& callback) {} | 112 const UploadRangeCallback& callback) {} |
| 101 | 113 |
| 102 void DummyDriveService::GetUploadStatus( | 114 void DummyDriveService::GetUploadStatus( |
| 103 UploadMode upload_mode, | 115 UploadMode upload_mode, |
| 104 const FilePath& drive_file_path, | 116 const FilePath& drive_file_path, |
| 105 const GURL& upload_url, | 117 const GURL& upload_url, |
| 106 int64 content_length, | 118 int64 content_length, |
| 107 const UploadRangeCallback& callback) {} | 119 const UploadRangeCallback& callback) {} |
| 108 | 120 |
| 109 void DummyDriveService::AuthorizeApp(const GURL& edit_url, | 121 void DummyDriveService::AuthorizeApp(const GURL& edit_url, |
| 110 const std::string& app_id, | 122 const std::string& app_id, |
| 111 const AuthorizeAppCallback& callback) {} | 123 const AuthorizeAppCallback& callback) {} |
| 112 | 124 |
| 113 } // namespace google_apis | 125 } // namespace google_apis |
| OLD | NEW |