| 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 #include "chrome/browser/sync_file_system/drive_backend/drive_service_wrapper.h" | 5 #include "chrome/browser/sync_file_system/drive_backend/drive_service_wrapper.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "chrome/browser/drive/drive_service_interface.h" | 10 #include "chrome/browser/drive/drive_service_interface.h" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 progress_callback); | 51 progress_callback); |
| 52 } | 52 } |
| 53 | 53 |
| 54 void DriveServiceWrapper::GetAboutResource( | 54 void DriveServiceWrapper::GetAboutResource( |
| 55 const google_apis::AboutResourceCallback& callback) { | 55 const google_apis::AboutResourceCallback& callback) { |
| 56 drive_service_->GetAboutResource(callback); | 56 drive_service_->GetAboutResource(callback); |
| 57 } | 57 } |
| 58 | 58 |
| 59 void DriveServiceWrapper::GetChangeList( | 59 void DriveServiceWrapper::GetChangeList( |
| 60 int64 start_changestamp, | 60 int64 start_changestamp, |
| 61 const google_apis::GetResourceListCallback& callback) { | 61 const google_apis::ChangeListCallback& callback) { |
| 62 drive_service_->GetChangeList(start_changestamp, callback); | 62 drive_service_->GetChangeList(start_changestamp, callback); |
| 63 } | 63 } |
| 64 | 64 |
| 65 void DriveServiceWrapper::GetRemainingChangeList( | 65 void DriveServiceWrapper::GetRemainingChangeList( |
| 66 const GURL& next_link, | 66 const GURL& next_link, |
| 67 const google_apis::GetResourceListCallback& callback) { | 67 const google_apis::ChangeListCallback& callback) { |
| 68 drive_service_->GetRemainingChangeList(next_link, callback); | 68 drive_service_->GetRemainingChangeList(next_link, callback); |
| 69 } | 69 } |
| 70 | 70 |
| 71 void DriveServiceWrapper::GetRemainingFileList( | 71 void DriveServiceWrapper::GetRemainingFileList( |
| 72 const GURL& next_link, | 72 const GURL& next_link, |
| 73 const google_apis::GetResourceListCallback& callback) { | 73 const google_apis::GetResourceListCallback& callback) { |
| 74 drive_service_->GetRemainingFileList(next_link, callback); | 74 drive_service_->GetRemainingFileList(next_link, callback); |
| 75 } | 75 } |
| 76 | 76 |
| 77 void DriveServiceWrapper::GetResourceEntry( | 77 void DriveServiceWrapper::GetResourceEntry( |
| (...skipping 24 matching lines...) Expand all Loading... |
| 102 void DriveServiceWrapper::SearchByTitle( | 102 void DriveServiceWrapper::SearchByTitle( |
| 103 const std::string& title, | 103 const std::string& title, |
| 104 const std::string& directory_resource_id, | 104 const std::string& directory_resource_id, |
| 105 const google_apis::GetResourceListCallback& callback) { | 105 const google_apis::GetResourceListCallback& callback) { |
| 106 drive_service_->SearchByTitle( | 106 drive_service_->SearchByTitle( |
| 107 title, directory_resource_id, callback); | 107 title, directory_resource_id, callback); |
| 108 } | 108 } |
| 109 | 109 |
| 110 } // namespace drive_backend | 110 } // namespace drive_backend |
| 111 } // namespace sync_file_system | 111 } // namespace sync_file_system |
| OLD | NEW |