| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 const EntryActionCallback& callback) OVERRIDE; | 98 const EntryActionCallback& callback) OVERRIDE; |
| 99 virtual void RemoveResourceFromDirectory( | 99 virtual void RemoveResourceFromDirectory( |
| 100 const std::string& parent_resource_id, | 100 const std::string& parent_resource_id, |
| 101 const std::string& resource_id, | 101 const std::string& resource_id, |
| 102 const EntryActionCallback& callback) OVERRIDE; | 102 const EntryActionCallback& callback) OVERRIDE; |
| 103 virtual void AddNewDirectory( | 103 virtual void AddNewDirectory( |
| 104 const std::string& parent_resource_id, | 104 const std::string& parent_resource_id, |
| 105 const std::string& directory_name, | 105 const std::string& directory_name, |
| 106 const GetResourceEntryCallback& callback) OVERRIDE; | 106 const GetResourceEntryCallback& callback) OVERRIDE; |
| 107 virtual void InitiateUploadNewFile( | 107 virtual void InitiateUploadNewFile( |
| 108 const FilePath& drive_file_path, | 108 const base::FilePath& drive_file_path, |
| 109 const std::string& content_type, | 109 const std::string& content_type, |
| 110 int64 content_length, | 110 int64 content_length, |
| 111 const GURL& parent_upload_url, | 111 const GURL& parent_upload_url, |
| 112 const std::string& title, | 112 const std::string& title, |
| 113 const InitiateUploadCallback& callback) OVERRIDE; | 113 const InitiateUploadCallback& callback) OVERRIDE; |
| 114 virtual void InitiateUploadExistingFile( | 114 virtual void InitiateUploadExistingFile( |
| 115 const FilePath& drive_file_path, | 115 const base::FilePath& drive_file_path, |
| 116 const std::string& content_type, | 116 const std::string& content_type, |
| 117 int64 content_length, | 117 int64 content_length, |
| 118 const GURL& upload_url, | 118 const GURL& upload_url, |
| 119 const std::string& etag, | 119 const std::string& etag, |
| 120 const InitiateUploadCallback& callback) OVERRIDE; | 120 const InitiateUploadCallback& callback) OVERRIDE; |
| 121 virtual void ResumeUpload( | 121 virtual void ResumeUpload( |
| 122 const ResumeUploadParams& params, | 122 const ResumeUploadParams& params, |
| 123 const UploadRangeCallback& callback) OVERRIDE; | 123 const UploadRangeCallback& callback) OVERRIDE; |
| 124 virtual void GetUploadStatus( | 124 virtual void GetUploadStatus( |
| 125 UploadMode upload_mode, | 125 UploadMode upload_mode, |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 ObserverList<DriveServiceObserver> observers_; | 167 ObserverList<DriveServiceObserver> observers_; |
| 168 DriveApiUrlGenerator url_generator_; | 168 DriveApiUrlGenerator url_generator_; |
| 169 const std::string custom_user_agent_; | 169 const std::string custom_user_agent_; |
| 170 | 170 |
| 171 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); | 171 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); |
| 172 }; | 172 }; |
| 173 | 173 |
| 174 } // namespace google_apis | 174 } // namespace google_apis |
| 175 | 175 |
| 176 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_ | 176 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_SERVICE_H_ |
| OLD | NEW |