| 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 COMPONENTS_DRIVE_SERVICE_DRIVE_API_SERVICE_H_ | 5 #ifndef COMPONENTS_DRIVE_SERVICE_DRIVE_API_SERVICE_H_ |
| 6 #define COMPONENTS_DRIVE_SERVICE_DRIVE_API_SERVICE_H_ | 6 #define COMPONENTS_DRIVE_SERVICE_DRIVE_API_SERVICE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 bool HasRefreshToken() const override; | 121 bool HasRefreshToken() const override; |
| 122 void ClearAccessToken() override; | 122 void ClearAccessToken() override; |
| 123 void ClearRefreshToken() override; | 123 void ClearRefreshToken() override; |
| 124 std::string GetRootResourceId() const override; | 124 std::string GetRootResourceId() const override; |
| 125 google_apis::CancelCallback GetAllTeamDriveList( | 125 google_apis::CancelCallback GetAllTeamDriveList( |
| 126 const google_apis::TeamDriveListCallback& callback) override; | 126 const google_apis::TeamDriveListCallback& callback) override; |
| 127 google_apis::CancelCallback GetAllFileList( | 127 google_apis::CancelCallback GetAllFileList( |
| 128 const google_apis::FileListCallback& callback) override; | 128 const google_apis::FileListCallback& callback) override; |
| 129 google_apis::CancelCallback GetFileListInDirectory( | 129 google_apis::CancelCallback GetFileListInDirectory( |
| 130 const std::string& directory_resource_id, | 130 const std::string& directory_resource_id, |
| 131 const std::string& team_drive_id, |
| 131 const google_apis::FileListCallback& callback) override; | 132 const google_apis::FileListCallback& callback) override; |
| 132 google_apis::CancelCallback Search( | 133 google_apis::CancelCallback Search( |
| 133 const std::string& search_query, | 134 const std::string& search_query, |
| 134 const google_apis::FileListCallback& callback) override; | 135 const google_apis::FileListCallback& callback) override; |
| 135 google_apis::CancelCallback SearchByTitle( | 136 google_apis::CancelCallback SearchByTitle( |
| 136 const std::string& title, | 137 const std::string& title, |
| 137 const std::string& directory_resource_id, | 138 const std::string& directory_resource_id, |
| 138 const google_apis::FileListCallback& callback) override; | 139 const google_apis::FileListCallback& callback) override; |
| 139 google_apis::CancelCallback GetChangeList( | 140 google_apis::CancelCallback GetChangeList( |
| 140 int64_t start_changestamp, | 141 int64_t start_changestamp, |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 google_apis::DriveApiUrlGenerator url_generator_; | 275 google_apis::DriveApiUrlGenerator url_generator_; |
| 275 const std::string custom_user_agent_; | 276 const std::string custom_user_agent_; |
| 276 const net::NetworkTrafficAnnotationTag traffic_annotation_; | 277 const net::NetworkTrafficAnnotationTag traffic_annotation_; |
| 277 | 278 |
| 278 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); | 279 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); |
| 279 }; | 280 }; |
| 280 | 281 |
| 281 } // namespace drive | 282 } // namespace drive |
| 282 | 283 |
| 283 #endif // COMPONENTS_DRIVE_SERVICE_DRIVE_API_SERVICE_H_ | 284 #endif // COMPONENTS_DRIVE_SERVICE_DRIVE_API_SERVICE_H_ |
| OLD | NEW |