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_DUMMY_DRIVE_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ |
6 #define CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ | 6 #define CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ |
7 | 7 |
8 #include "chrome/browser/google_apis/drive_service_interface.h" | 8 #include "chrome/browser/google_apis/drive_service_interface.h" |
9 | 9 |
10 namespace google_apis { | 10 namespace google_apis { |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 const InitiateUploadCallback& callback) OVERRIDE; | 105 const InitiateUploadCallback& callback) OVERRIDE; |
106 virtual void ResumeUpload( | 106 virtual void ResumeUpload( |
107 UploadMode upload_mode, | 107 UploadMode upload_mode, |
108 const base::FilePath& drive_file_path, | 108 const base::FilePath& drive_file_path, |
109 const GURL& upload_url, | 109 const GURL& upload_url, |
110 int64 start_position, | 110 int64 start_position, |
111 int64 end_position, | 111 int64 end_position, |
112 int64 content_length, | 112 int64 content_length, |
113 const std::string& content_type, | 113 const std::string& content_type, |
114 const scoped_refptr<net::IOBuffer>& buf, | 114 const scoped_refptr<net::IOBuffer>& buf, |
115 const UploadRangeCallback& callback) OVERRIDE; | 115 const UploadRangeCallback& callback, |
| 116 const ProgressCallback& progress_callback) OVERRIDE; |
116 virtual void GetUploadStatus( | 117 virtual void GetUploadStatus( |
117 UploadMode upload_mode, | 118 UploadMode upload_mode, |
118 const base::FilePath& drive_file_path, | 119 const base::FilePath& drive_file_path, |
119 const GURL& upload_url, | 120 const GURL& upload_url, |
120 int64 content_length, | 121 int64 content_length, |
121 const UploadRangeCallback& callback) OVERRIDE; | 122 const UploadRangeCallback& callback) OVERRIDE; |
122 virtual void AuthorizeApp(const std::string& resource_id, | 123 virtual void AuthorizeApp(const std::string& resource_id, |
123 const std::string& app_id, | 124 const std::string& app_id, |
124 const AuthorizeAppCallback& callback) OVERRIDE; | 125 const AuthorizeAppCallback& callback) OVERRIDE; |
125 }; | 126 }; |
126 | 127 |
127 } // namespace google_apis | 128 } // namespace google_apis |
128 | 129 |
129 #endif // CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ | 130 #endif // CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ |
OLD | NEW |