Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1382)

Side by Side Diff: chrome/browser/sync_file_system/drive_file_sync_client.h

Issue 11530004: google_apis: DriveServiceInterface::GetResourceEntry() returns ResourceEntry (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_CLIENT_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_CLIENT_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_CLIENT_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 void DidGetDirectory(const std::string& parent_resource_id, 198 void DidGetDirectory(const std::string& parent_resource_id,
199 const std::string& directory_name, 199 const std::string& directory_name,
200 const ResourceIdCallback& callback, 200 const ResourceIdCallback& callback,
201 google_apis::GDataErrorCode error, 201 google_apis::GDataErrorCode error,
202 scoped_ptr<google_apis::ResourceList> feed); 202 scoped_ptr<google_apis::ResourceList> feed);
203 203
204 void DidGetParentDirectoryForCreateDirectory( 204 void DidGetParentDirectoryForCreateDirectory(
205 const FilePath::StringType& directory_name, 205 const FilePath::StringType& directory_name,
206 const ResourceIdCallback& callback, 206 const ResourceIdCallback& callback,
207 google_apis::GDataErrorCode error, 207 google_apis::GDataErrorCode error,
208 scoped_ptr<base::Value> data); 208 scoped_ptr<google_apis::ResourceEntry> entry);
209 209
210 void DidCreateDirectory(const ResourceIdCallback& callback, 210 void DidCreateDirectory(const ResourceIdCallback& callback,
211 google_apis::GDataErrorCode error, 211 google_apis::GDataErrorCode error,
212 scoped_ptr<base::Value> data); 212 scoped_ptr<base::Value> data);
213 213
214 void SearchFilesInDirectory(const std::string& directory_resource_id, 214 void SearchFilesInDirectory(const std::string& directory_resource_id,
215 const std::string& search_query, 215 const std::string& search_query,
216 const ResourceListCallback& callback); 216 const ResourceListCallback& callback);
217 217
218 void DidGetAccountMetadata(const ChangeStampCallback& callback, 218 void DidGetAccountMetadata(const ChangeStampCallback& callback,
219 google_apis::GDataErrorCode error, 219 google_apis::GDataErrorCode error,
220 scoped_ptr<base::Value> data); 220 scoped_ptr<base::Value> data);
221 221
222 void DidGetResourceList( 222 void DidGetResourceList(
223 const ResourceListCallback& callback, 223 const ResourceListCallback& callback,
224 google_apis::GDataErrorCode error, 224 google_apis::GDataErrorCode error,
225 scoped_ptr<google_apis::ResourceList> resource_list); 225 scoped_ptr<google_apis::ResourceList> resource_list);
226 226
227 void DidGetResourceEntryData(const ResourceEntryCallback& callback, 227 void DidGetResourceEntry(const ResourceEntryCallback& callback,
228 google_apis::GDataErrorCode error, 228 google_apis::GDataErrorCode error,
229 scoped_ptr<base::Value> data); 229 scoped_ptr<google_apis::ResourceEntry> entry);
230 230
231 void DownloadFileInternal(const std::string& local_file_md5, 231 void DownloadFileInternal(const std::string& local_file_md5,
232 const FilePath& local_file_path, 232 const FilePath& local_file_path,
233 const DownloadFileCallback& callback, 233 const DownloadFileCallback& callback,
234 google_apis::GDataErrorCode error, 234 google_apis::GDataErrorCode error,
235 scoped_ptr<google_apis::ResourceEntry> entry); 235 scoped_ptr<google_apis::ResourceEntry> entry);
236 236
237 void DidDownloadFile(const std::string& downloaded_file_md5, 237 void DidDownloadFile(const std::string& downloaded_file_md5,
238 const DownloadFileCallback& callback, 238 const DownloadFileCallback& callback,
239 google_apis::GDataErrorCode error, 239 google_apis::GDataErrorCode error,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 google_apis::GDataWapiUrlGenerator url_generator_; 276 google_apis::GDataWapiUrlGenerator url_generator_;
277 277
278 ObserverList<DriveFileSyncClientObserver> observers_; 278 ObserverList<DriveFileSyncClientObserver> observers_;
279 279
280 DISALLOW_COPY_AND_ASSIGN(DriveFileSyncClient); 280 DISALLOW_COPY_AND_ASSIGN(DriveFileSyncClient);
281 }; 281 };
282 282
283 } // namespace sync_file_system 283 } // namespace sync_file_system
284 284
285 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_CLIENT_H_ 285 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/google_apis/mock_drive_service.h ('k') | chrome/browser/sync_file_system/drive_file_sync_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698