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_DRIVE_DRIVE_API_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ |
6 #define CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ | 6 #define CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 virtual google_apis::CancelCallback DownloadFile( | 113 virtual google_apis::CancelCallback DownloadFile( |
114 const base::FilePath& local_cache_path, | 114 const base::FilePath& local_cache_path, |
115 const std::string& resource_id, | 115 const std::string& resource_id, |
116 const google_apis::DownloadActionCallback& download_action_callback, | 116 const google_apis::DownloadActionCallback& download_action_callback, |
117 const google_apis::GetContentCallback& get_content_callback, | 117 const google_apis::GetContentCallback& get_content_callback, |
118 const google_apis::ProgressCallback& progress_callback) OVERRIDE; | 118 const google_apis::ProgressCallback& progress_callback) OVERRIDE; |
119 virtual google_apis::CancelCallback CopyResource( | 119 virtual google_apis::CancelCallback CopyResource( |
120 const std::string& resource_id, | 120 const std::string& resource_id, |
121 const std::string& parent_resource_id, | 121 const std::string& parent_resource_id, |
122 const std::string& new_title, | 122 const std::string& new_title, |
| 123 const base::Time& last_modified, |
123 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | 124 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; |
124 virtual google_apis::CancelCallback CopyHostedDocument( | 125 virtual google_apis::CancelCallback CopyHostedDocument( |
125 const std::string& resource_id, | 126 const std::string& resource_id, |
126 const std::string& new_title, | 127 const std::string& new_title, |
127 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | 128 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; |
128 virtual google_apis::CancelCallback MoveResource( | 129 virtual google_apis::CancelCallback MoveResource( |
129 const std::string& resource_id, | 130 const std::string& resource_id, |
130 const std::string& parent_resource_id, | 131 const std::string& parent_resource_id, |
131 const std::string& new_title, | 132 const std::string& new_title, |
| 133 const base::Time& last_modified, |
132 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | 134 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; |
133 virtual google_apis::CancelCallback RenameResource( | 135 virtual google_apis::CancelCallback RenameResource( |
134 const std::string& resource_id, | 136 const std::string& resource_id, |
135 const std::string& new_title, | 137 const std::string& new_title, |
136 const google_apis::EntryActionCallback& callback) OVERRIDE; | 138 const google_apis::EntryActionCallback& callback) OVERRIDE; |
137 virtual google_apis::CancelCallback TouchResource( | 139 virtual google_apis::CancelCallback TouchResource( |
138 const std::string& resource_id, | 140 const std::string& resource_id, |
139 const base::Time& modified_date, | 141 const base::Time& modified_date, |
140 const base::Time& last_viewed_by_me_date, | 142 const base::Time& last_viewed_by_me_date, |
141 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | 143 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 google_apis::DriveApiUrlGenerator url_generator_; | 201 google_apis::DriveApiUrlGenerator url_generator_; |
200 google_apis::GDataWapiUrlGenerator wapi_url_generator_; | 202 google_apis::GDataWapiUrlGenerator wapi_url_generator_; |
201 const std::string custom_user_agent_; | 203 const std::string custom_user_agent_; |
202 | 204 |
203 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); | 205 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); |
204 }; | 206 }; |
205 | 207 |
206 } // namespace drive | 208 } // namespace drive |
207 | 209 |
208 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ | 210 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ |
OLD | NEW |