| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 const std::string& resource_id, | 63 const std::string& resource_id, |
| 64 const EntryActionCallback& callback) OVERRIDE; | 64 const EntryActionCallback& callback) OVERRIDE; |
| 65 virtual void RemoveResourceFromDirectory( | 65 virtual void RemoveResourceFromDirectory( |
| 66 const std::string& parent_resource_id, | 66 const std::string& parent_resource_id, |
| 67 const std::string& resource_id, | 67 const std::string& resource_id, |
| 68 const EntryActionCallback& callback) OVERRIDE; | 68 const EntryActionCallback& callback) OVERRIDE; |
| 69 virtual void AddNewDirectory( | 69 virtual void AddNewDirectory( |
| 70 const std::string& parent_resource_id, | 70 const std::string& parent_resource_id, |
| 71 const std::string& directory_name, | 71 const std::string& directory_name, |
| 72 const GetResourceEntryCallback& callback) OVERRIDE; | 72 const GetResourceEntryCallback& callback) OVERRIDE; |
| 73 virtual void InitiateUpload(const InitiateUploadParams& params, | 73 virtual void InitiateUploadNewFile( |
| 74 const InitiateUploadCallback& callback) OVERRIDE; | 74 const FilePath& drive_file_path, |
| 75 const std::string& content_type, |
| 76 int64 content_length, |
| 77 const GURL& parent_upload_url, |
| 78 const std::string& title, |
| 79 const InitiateUploadCallback& callback) OVERRIDE; |
| 80 virtual void InitiateUploadExistingFile( |
| 81 const FilePath& drive_file_path, |
| 82 const std::string& content_type, |
| 83 int64 content_length, |
| 84 const GURL& upload_url, |
| 85 const std::string& etag, |
| 86 const InitiateUploadCallback& callback) OVERRIDE; |
| 75 virtual void ResumeUpload(const ResumeUploadParams& params, | 87 virtual void ResumeUpload(const ResumeUploadParams& params, |
| 76 const UploadRangeCallback& callback) OVERRIDE; | 88 const UploadRangeCallback& callback) OVERRIDE; |
| 77 virtual void GetUploadStatus( | 89 virtual void GetUploadStatus( |
| 78 UploadMode upload_mode, | 90 UploadMode upload_mode, |
| 79 const FilePath& drive_file_path, | 91 const FilePath& drive_file_path, |
| 80 const GURL& upload_url, | 92 const GURL& upload_url, |
| 81 int64 content_length, | 93 int64 content_length, |
| 82 const UploadRangeCallback& callback) OVERRIDE; | 94 const UploadRangeCallback& callback) OVERRIDE; |
| 83 virtual void AuthorizeApp(const GURL& edit_url, | 95 virtual void AuthorizeApp(const GURL& edit_url, |
| 84 const std::string& app_id, | 96 const std::string& app_id, |
| 85 const AuthorizeAppCallback& callback) OVERRIDE; | 97 const AuthorizeAppCallback& callback) OVERRIDE; |
| 86 }; | 98 }; |
| 87 | 99 |
| 88 } // namespace google_apis | 100 } // namespace google_apis |
| 89 | 101 |
| 90 #endif // CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ | 102 #endif // CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ |
| OLD | NEW |