| 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_GOOGLE_APIS_DRIVE_API_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_ |
| 6 #define CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_ | 6 #define CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 const InitiateUploadCallback& callback) OVERRIDE; | 143 const InitiateUploadCallback& callback) OVERRIDE; |
| 144 virtual void ResumeUpload( | 144 virtual void ResumeUpload( |
| 145 UploadMode upload_mode, | 145 UploadMode upload_mode, |
| 146 const base::FilePath& drive_file_path, | 146 const base::FilePath& drive_file_path, |
| 147 const GURL& upload_url, | 147 const GURL& upload_url, |
| 148 int64 start_position, | 148 int64 start_position, |
| 149 int64 end_position, | 149 int64 end_position, |
| 150 int64 content_length, | 150 int64 content_length, |
| 151 const std::string& content_type, | 151 const std::string& content_type, |
| 152 const scoped_refptr<net::IOBuffer>& buf, | 152 const scoped_refptr<net::IOBuffer>& buf, |
| 153 const UploadRangeCallback& callback) OVERRIDE; | 153 const UploadRangeCallback& callback, |
| 154 const ProgressCallback& progress_callback) OVERRIDE; |
| 154 virtual void GetUploadStatus( | 155 virtual void GetUploadStatus( |
| 155 UploadMode upload_mode, | 156 UploadMode upload_mode, |
| 156 const base::FilePath& drive_file_path, | 157 const base::FilePath& drive_file_path, |
| 157 const GURL& upload_url, | 158 const GURL& upload_url, |
| 158 int64 content_length, | 159 int64 content_length, |
| 159 const UploadRangeCallback& callback) OVERRIDE; | 160 const UploadRangeCallback& callback) OVERRIDE; |
| 160 virtual void AuthorizeApp( | 161 virtual void AuthorizeApp( |
| 161 const std::string& resource_id, | 162 const std::string& resource_id, |
| 162 const std::string& app_id, | 163 const std::string& app_id, |
| 163 const AuthorizeAppCallback& callback) OVERRIDE; | 164 const AuthorizeAppCallback& callback) OVERRIDE; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 DriveApiUrlGenerator url_generator_; | 199 DriveApiUrlGenerator url_generator_; |
| 199 GDataWapiUrlGenerator wapi_url_generator_; | 200 GDataWapiUrlGenerator wapi_url_generator_; |
| 200 const std::string custom_user_agent_; | 201 const std::string custom_user_agent_; |
| 201 | 202 |
| 202 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); | 203 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); |
| 203 }; | 204 }; |
| 204 | 205 |
| 205 } // namespace google_apis | 206 } // namespace google_apis |
| 206 | 207 |
| 207 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_ | 208 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_ |
| OLD | NEW |