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_GDATA_WAPI_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ |
6 #define CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ | 6 #define CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 const EntryActionCallback& callback) OVERRIDE; | 101 const EntryActionCallback& callback) OVERRIDE; |
102 virtual void RemoveResourceFromDirectory( | 102 virtual void RemoveResourceFromDirectory( |
103 const std::string& parent_resource_id, | 103 const std::string& parent_resource_id, |
104 const std::string& resource_id, | 104 const std::string& resource_id, |
105 const EntryActionCallback& callback) OVERRIDE; | 105 const EntryActionCallback& callback) OVERRIDE; |
106 virtual void AddNewDirectory( | 106 virtual void AddNewDirectory( |
107 const std::string& parent_resource_id, | 107 const std::string& parent_resource_id, |
108 const std::string& directory_name, | 108 const std::string& directory_name, |
109 const GetResourceEntryCallback& callback) OVERRIDE; | 109 const GetResourceEntryCallback& callback) OVERRIDE; |
110 virtual void InitiateUploadNewFile( | 110 virtual void InitiateUploadNewFile( |
111 const FilePath& drive_file_path, | 111 const base::FilePath& drive_file_path, |
112 const std::string& content_type, | 112 const std::string& content_type, |
113 int64 content_length, | 113 int64 content_length, |
114 const GURL& parent_upload_url, | 114 const GURL& parent_upload_url, |
115 const std::string& title, | 115 const std::string& title, |
116 const InitiateUploadCallback& callback) OVERRIDE; | 116 const InitiateUploadCallback& callback) OVERRIDE; |
117 virtual void InitiateUploadExistingFile( | 117 virtual void InitiateUploadExistingFile( |
118 const FilePath& drive_file_path, | 118 const base::FilePath& drive_file_path, |
119 const std::string& content_type, | 119 const std::string& content_type, |
120 int64 content_length, | 120 int64 content_length, |
121 const GURL& upload_url, | 121 const GURL& upload_url, |
122 const std::string& etag, | 122 const std::string& etag, |
123 const InitiateUploadCallback& callback) OVERRIDE; | 123 const InitiateUploadCallback& callback) OVERRIDE; |
124 virtual void ResumeUpload( | 124 virtual void ResumeUpload( |
125 const ResumeUploadParams& params, | 125 const ResumeUploadParams& params, |
126 const UploadRangeCallback& callback) OVERRIDE; | 126 const UploadRangeCallback& callback) OVERRIDE; |
127 virtual void GetUploadStatus( | 127 virtual void GetUploadStatus( |
128 UploadMode upload_mode, | 128 UploadMode upload_mode, |
(...skipping 23 matching lines...) Expand all Loading... |
152 // reference, as they may outlive this object. | 152 // reference, as they may outlive this object. |
153 const GDataWapiUrlGenerator url_generator_; | 153 const GDataWapiUrlGenerator url_generator_; |
154 const std::string custom_user_agent_; | 154 const std::string custom_user_agent_; |
155 | 155 |
156 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); | 156 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); |
157 }; | 157 }; |
158 | 158 |
159 } // namespace google_apis | 159 } // namespace google_apis |
160 | 160 |
161 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ | 161 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_SERVICE_H_ |
OLD | NEW |