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_DUMMY_DRIVE_SERVICE_H_ | 5 #ifndef COMPONENTS_DRIVE_SERVICE_DUMMY_DRIVE_SERVICE_H_ |
6 #define COMPONENTS_DRIVE_SERVICE_DUMMY_DRIVE_SERVICE_H_ | 6 #define COMPONENTS_DRIVE_SERVICE_DUMMY_DRIVE_SERVICE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 21 matching lines...) Expand all Loading... |
32 bool HasRefreshToken() const override; | 32 bool HasRefreshToken() const override; |
33 void ClearAccessToken() override; | 33 void ClearAccessToken() override; |
34 void ClearRefreshToken() override; | 34 void ClearRefreshToken() override; |
35 std::string GetRootResourceId() const override; | 35 std::string GetRootResourceId() const override; |
36 google_apis::CancelCallback GetAllTeamDriveList( | 36 google_apis::CancelCallback GetAllTeamDriveList( |
37 const google_apis::TeamDriveListCallback& callback) override; | 37 const google_apis::TeamDriveListCallback& callback) override; |
38 google_apis::CancelCallback GetAllFileList( | 38 google_apis::CancelCallback GetAllFileList( |
39 const google_apis::FileListCallback& callback) override; | 39 const google_apis::FileListCallback& callback) override; |
40 google_apis::CancelCallback GetFileListInDirectory( | 40 google_apis::CancelCallback GetFileListInDirectory( |
41 const std::string& directory_resource_id, | 41 const std::string& directory_resource_id, |
| 42 const std::string& team_drive_id, |
42 const google_apis::FileListCallback& callback) override; | 43 const google_apis::FileListCallback& callback) override; |
43 google_apis::CancelCallback Search( | 44 google_apis::CancelCallback Search( |
44 const std::string& search_query, | 45 const std::string& search_query, |
45 const google_apis::FileListCallback& callback) override; | 46 const google_apis::FileListCallback& callback) override; |
46 google_apis::CancelCallback SearchByTitle( | 47 google_apis::CancelCallback SearchByTitle( |
47 const std::string& title, | 48 const std::string& title, |
48 const std::string& directory_resource_id, | 49 const std::string& directory_resource_id, |
49 const google_apis::FileListCallback& callback) override; | 50 const google_apis::FileListCallback& callback) override; |
50 google_apis::CancelCallback GetChangeList( | 51 google_apis::CancelCallback GetChangeList( |
51 int64_t start_changestamp, | 52 int64_t start_changestamp, |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 const std::string& email, | 166 const std::string& email, |
166 google_apis::drive::PermissionRole role, | 167 google_apis::drive::PermissionRole role, |
167 const google_apis::EntryActionCallback& callback) override; | 168 const google_apis::EntryActionCallback& callback) override; |
168 std::unique_ptr<BatchRequestConfiguratorInterface> StartBatchRequest() | 169 std::unique_ptr<BatchRequestConfiguratorInterface> StartBatchRequest() |
169 override; | 170 override; |
170 }; | 171 }; |
171 | 172 |
172 } // namespace drive | 173 } // namespace drive |
173 | 174 |
174 #endif // COMPONENTS_DRIVE_SERVICE_DUMMY_DRIVE_SERVICE_H_ | 175 #endif // COMPONENTS_DRIVE_SERVICE_DUMMY_DRIVE_SERVICE_H_ |
OLD | NEW |