| 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 #ifndef CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ |
| 6 #define CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ | 6 #define CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 google_apis::CancelCallback GetUploadStatus( | 166 google_apis::CancelCallback GetUploadStatus( |
| 167 const GURL& upload_url, | 167 const GURL& upload_url, |
| 168 int64 content_length, | 168 int64 content_length, |
| 169 const google_apis::drive::UploadRangeCallback& callback) override; | 169 const google_apis::drive::UploadRangeCallback& callback) override; |
| 170 google_apis::CancelCallback MultipartUploadNewFile( | 170 google_apis::CancelCallback MultipartUploadNewFile( |
| 171 const std::string& content_type, | 171 const std::string& content_type, |
| 172 int64 content_length, | 172 int64 content_length, |
| 173 const std::string& parent_resource_id, | 173 const std::string& parent_resource_id, |
| 174 const std::string& title, | 174 const std::string& title, |
| 175 const base::FilePath& local_file_path, | 175 const base::FilePath& local_file_path, |
| 176 const UploadNewFileOptions& options, | 176 const drive::UploadNewFileOptions& options, |
| 177 const google_apis::FileResourceCallback& callback, | 177 const google_apis::FileResourceCallback& callback, |
| 178 const google_apis::ProgressCallback& progress_callback) override; | 178 const google_apis::ProgressCallback& progress_callback) override; |
| 179 google_apis::CancelCallback MultipartUploadExistingFile( | 179 google_apis::CancelCallback MultipartUploadExistingFile( |
| 180 const std::string& content_type, | 180 const std::string& content_type, |
| 181 int64 content_length, | 181 int64 content_length, |
| 182 const std::string& resource_id, | 182 const std::string& resource_id, |
| 183 const base::FilePath& local_file_path, | 183 const base::FilePath& local_file_path, |
| 184 const UploadExistingFileOptions& options, | 184 const drive::UploadExistingFileOptions& options, |
| 185 const google_apis::FileResourceCallback& callback, | 185 const google_apis::FileResourceCallback& callback, |
| 186 const google_apis::ProgressCallback& progress_callback) override; | 186 const google_apis::ProgressCallback& progress_callback) override; |
| 187 google_apis::CancelCallback AuthorizeApp( | 187 google_apis::CancelCallback AuthorizeApp( |
| 188 const std::string& resource_id, | 188 const std::string& resource_id, |
| 189 const std::string& app_id, | 189 const std::string& app_id, |
| 190 const google_apis::AuthorizeAppCallback& callback) override; | 190 const google_apis::AuthorizeAppCallback& callback) override; |
| 191 google_apis::CancelCallback UninstallApp( | 191 google_apis::CancelCallback UninstallApp( |
| 192 const std::string& app_id, | 192 const std::string& app_id, |
| 193 const google_apis::EntryActionCallback& callback) override; | 193 const google_apis::EntryActionCallback& callback) override; |
| 194 google_apis::CancelCallback AddPermission( | 194 google_apis::CancelCallback AddPermission( |
| (...skipping 16 matching lines...) Expand all Loading... |
| 211 ObserverList<DriveServiceObserver> observers_; | 211 ObserverList<DriveServiceObserver> observers_; |
| 212 google_apis::DriveApiUrlGenerator url_generator_; | 212 google_apis::DriveApiUrlGenerator url_generator_; |
| 213 const std::string custom_user_agent_; | 213 const std::string custom_user_agent_; |
| 214 | 214 |
| 215 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); | 215 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); |
| 216 }; | 216 }; |
| 217 | 217 |
| 218 } // namespace drive | 218 } // namespace drive |
| 219 | 219 |
| 220 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ | 220 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ |
| OLD | NEW |