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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 const std::string& new_title, | 124 const std::string& new_title, |
125 const base::Time& last_modified, | 125 const base::Time& last_modified, |
126 const google_apis::FileResourceCallback& callback) OVERRIDE; | 126 const google_apis::FileResourceCallback& callback) OVERRIDE; |
127 virtual google_apis::CancelCallback UpdateResource( | 127 virtual google_apis::CancelCallback UpdateResource( |
128 const std::string& resource_id, | 128 const std::string& resource_id, |
129 const std::string& parent_resource_id, | 129 const std::string& parent_resource_id, |
130 const std::string& new_title, | 130 const std::string& new_title, |
131 const base::Time& last_modified, | 131 const base::Time& last_modified, |
132 const base::Time& last_viewed_by_me, | 132 const base::Time& last_viewed_by_me, |
133 const google_apis::FileResourceCallback& callback) OVERRIDE; | 133 const google_apis::FileResourceCallback& callback) OVERRIDE; |
134 virtual google_apis::CancelCallback RenameResource( | |
135 const std::string& resource_id, | |
136 const std::string& new_title, | |
137 const google_apis::EntryActionCallback& callback) OVERRIDE; | |
138 virtual google_apis::CancelCallback AddResourceToDirectory( | 134 virtual google_apis::CancelCallback AddResourceToDirectory( |
139 const std::string& parent_resource_id, | 135 const std::string& parent_resource_id, |
140 const std::string& resource_id, | 136 const std::string& resource_id, |
141 const google_apis::EntryActionCallback& callback) OVERRIDE; | 137 const google_apis::EntryActionCallback& callback) OVERRIDE; |
142 virtual google_apis::CancelCallback RemoveResourceFromDirectory( | 138 virtual google_apis::CancelCallback RemoveResourceFromDirectory( |
143 const std::string& parent_resource_id, | 139 const std::string& parent_resource_id, |
144 const std::string& resource_id, | 140 const std::string& resource_id, |
145 const google_apis::EntryActionCallback& callback) OVERRIDE; | 141 const google_apis::EntryActionCallback& callback) OVERRIDE; |
146 virtual google_apis::CancelCallback AddNewDirectory( | 142 virtual google_apis::CancelCallback AddNewDirectory( |
147 const std::string& parent_resource_id, | 143 const std::string& parent_resource_id, |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 google_apis::DriveApiUrlGenerator url_generator_; | 195 google_apis::DriveApiUrlGenerator url_generator_; |
200 google_apis::GDataWapiUrlGenerator wapi_url_generator_; | 196 google_apis::GDataWapiUrlGenerator wapi_url_generator_; |
201 const std::string custom_user_agent_; | 197 const std::string custom_user_agent_; |
202 | 198 |
203 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); | 199 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); |
204 }; | 200 }; |
205 | 201 |
206 } // namespace drive | 202 } // namespace drive |
207 | 203 |
208 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ | 204 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ |
OLD | NEW |