| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_DRIVE_SERVICE_WRAPPER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_SERVICE_WRAPPER_H_ |
| 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_SERVICE_WRAPPER_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_SERVICE_WRAPPER_H_ |
| 7 | 7 |
| 8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
| 9 #include "chrome/browser/drive/drive_service_interface.h" | 9 #include "chrome/browser/drive/drive_service_interface.h" |
| 10 | 10 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 const std::string& resource_id, | 35 const std::string& resource_id, |
| 36 const google_apis::DownloadActionCallback& download_action_callback, | 36 const google_apis::DownloadActionCallback& download_action_callback, |
| 37 const google_apis::GetContentCallback& get_content_callback, | 37 const google_apis::GetContentCallback& get_content_callback, |
| 38 const google_apis::ProgressCallback& progress_callback); | 38 const google_apis::ProgressCallback& progress_callback); |
| 39 | 39 |
| 40 void GetAboutResource( | 40 void GetAboutResource( |
| 41 const google_apis::AboutResourceCallback& callback); | 41 const google_apis::AboutResourceCallback& callback); |
| 42 | 42 |
| 43 void GetChangeList( | 43 void GetChangeList( |
| 44 int64 start_changestamp, | 44 int64 start_changestamp, |
| 45 const google_apis::GetResourceListCallback& callback); | 45 const google_apis::ChangeListCallback& callback); |
| 46 | 46 |
| 47 void GetRemainingChangeList( | 47 void GetRemainingChangeList( |
| 48 const GURL& next_link, | 48 const GURL& next_link, |
| 49 const google_apis::GetResourceListCallback& callback); | 49 const google_apis::ChangeListCallback& callback); |
| 50 | 50 |
| 51 void GetRemainingFileList( | 51 void GetRemainingFileList( |
| 52 const GURL& next_link, | 52 const GURL& next_link, |
| 53 const google_apis::GetResourceListCallback& callback); | 53 const google_apis::GetResourceListCallback& callback); |
| 54 | 54 |
| 55 void GetResourceEntry( | 55 void GetResourceEntry( |
| 56 const std::string& resource_id, | 56 const std::string& resource_id, |
| 57 const google_apis::GetResourceEntryCallback& callback); | 57 const google_apis::GetResourceEntryCallback& callback); |
| 58 | 58 |
| 59 void GetResourceListInDirectory( | 59 void GetResourceListInDirectory( |
| (...skipping 15 matching lines...) Expand all Loading... |
| 75 private: | 75 private: |
| 76 drive::DriveServiceInterface* drive_service_; | 76 drive::DriveServiceInterface* drive_service_; |
| 77 | 77 |
| 78 DISALLOW_COPY_AND_ASSIGN(DriveServiceWrapper); | 78 DISALLOW_COPY_AND_ASSIGN(DriveServiceWrapper); |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 } // namespace drive_backend | 81 } // namespace drive_backend |
| 82 } // namespace sync_file_system | 82 } // namespace sync_file_system |
| 83 | 83 |
| 84 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_SERVICE_WRAPPER_H
_ | 84 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_SERVICE_WRAPPER_H
_ |
| OLD | NEW |