OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SYNC_FILE_SYSTEM_DRIVE_BACKEND_V1_API_UTIL_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_V1_API_UTIL_H_ |
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_V1_API_UTIL_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_V1_API_UTIL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 | 151 |
152 void DidGetLargestChangeStamp( | 152 void DidGetLargestChangeStamp( |
153 const ChangeStampCallback& callback, | 153 const ChangeStampCallback& callback, |
154 google_apis::GDataErrorCode error, | 154 google_apis::GDataErrorCode error, |
155 scoped_ptr<google_apis::AboutResource> about_resource); | 155 scoped_ptr<google_apis::AboutResource> about_resource); |
156 | 156 |
157 void DidGetDriveRootResourceIdForEnsureSyncRoot( | 157 void DidGetDriveRootResourceIdForEnsureSyncRoot( |
158 const std::string& sync_root_resource_id, | 158 const std::string& sync_root_resource_id, |
159 google_apis::GDataErrorCode error); | 159 google_apis::GDataErrorCode error); |
160 | 160 |
| 161 void DidGetChangeList(const ResourceListCallback& callback, |
| 162 google_apis::GDataErrorCode error, |
| 163 scoped_ptr<google_apis::ChangeList> change_list); |
| 164 |
161 void DidGetResourceList(const ResourceListCallback& callback, | 165 void DidGetResourceList(const ResourceListCallback& callback, |
162 google_apis::GDataErrorCode error, | 166 google_apis::GDataErrorCode error, |
163 scoped_ptr<google_apis::ResourceList> resource_list); | 167 scoped_ptr<google_apis::ResourceList> resource_list); |
164 | 168 |
165 void DidGetResourceEntry(const ResourceEntryCallback& callback, | 169 void DidGetResourceEntry(const ResourceEntryCallback& callback, |
166 google_apis::GDataErrorCode error, | 170 google_apis::GDataErrorCode error, |
167 scoped_ptr<google_apis::ResourceEntry> entry); | 171 scoped_ptr<google_apis::ResourceEntry> entry); |
168 | 172 |
169 void DidGetTemporaryFileForDownload( | 173 void DidGetTemporaryFileForDownload( |
170 const std::string& resource_id, | 174 const std::string& resource_id, |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 | 260 |
257 ObserverList<APIUtilObserver> observers_; | 261 ObserverList<APIUtilObserver> observers_; |
258 | 262 |
259 DISALLOW_COPY_AND_ASSIGN(APIUtil); | 263 DISALLOW_COPY_AND_ASSIGN(APIUtil); |
260 }; | 264 }; |
261 | 265 |
262 } // namespace drive_backend | 266 } // namespace drive_backend |
263 } // namespace sync_file_system | 267 } // namespace sync_file_system |
264 | 268 |
265 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_V1_API_UTIL_H_ | 269 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_V1_API_UTIL_H_ |
OLD | NEW |