| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 const std::string& resource_id, | 130 const std::string& resource_id, |
| 131 const std::string& parent_resource_id, | 131 const std::string& parent_resource_id, |
| 132 const std::string& new_title, | 132 const std::string& new_title, |
| 133 const base::Time& last_modified, | 133 const base::Time& last_modified, |
| 134 const base::Time& last_viewed_by_me, | 134 const base::Time& last_viewed_by_me, |
| 135 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | 135 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; |
| 136 virtual google_apis::CancelCallback RenameResource( | 136 virtual google_apis::CancelCallback RenameResource( |
| 137 const std::string& resource_id, | 137 const std::string& resource_id, |
| 138 const std::string& new_title, | 138 const std::string& new_title, |
| 139 const google_apis::EntryActionCallback& callback) OVERRIDE; | 139 const google_apis::EntryActionCallback& callback) OVERRIDE; |
| 140 virtual google_apis::CancelCallback TouchResource( | |
| 141 const std::string& resource_id, | |
| 142 const base::Time& modified_date, | |
| 143 const base::Time& last_viewed_by_me_date, | |
| 144 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | |
| 145 virtual google_apis::CancelCallback AddResourceToDirectory( | 140 virtual google_apis::CancelCallback AddResourceToDirectory( |
| 146 const std::string& parent_resource_id, | 141 const std::string& parent_resource_id, |
| 147 const std::string& resource_id, | 142 const std::string& resource_id, |
| 148 const google_apis::EntryActionCallback& callback) OVERRIDE; | 143 const google_apis::EntryActionCallback& callback) OVERRIDE; |
| 149 virtual google_apis::CancelCallback RemoveResourceFromDirectory( | 144 virtual google_apis::CancelCallback RemoveResourceFromDirectory( |
| 150 const std::string& parent_resource_id, | 145 const std::string& parent_resource_id, |
| 151 const std::string& resource_id, | 146 const std::string& resource_id, |
| 152 const google_apis::EntryActionCallback& callback) OVERRIDE; | 147 const google_apis::EntryActionCallback& callback) OVERRIDE; |
| 153 virtual google_apis::CancelCallback AddNewDirectory( | 148 virtual google_apis::CancelCallback AddNewDirectory( |
| 154 const std::string& parent_resource_id, | 149 const std::string& parent_resource_id, |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 google_apis::DriveApiUrlGenerator url_generator_; | 197 google_apis::DriveApiUrlGenerator url_generator_; |
| 203 google_apis::GDataWapiUrlGenerator wapi_url_generator_; | 198 google_apis::GDataWapiUrlGenerator wapi_url_generator_; |
| 204 const std::string custom_user_agent_; | 199 const std::string custom_user_agent_; |
| 205 | 200 |
| 206 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); | 201 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); |
| 207 }; | 202 }; |
| 208 | 203 |
| 209 } // namespace drive | 204 } // namespace drive |
| 210 | 205 |
| 211 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ | 206 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ |
| OLD | NEW |