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_FAKE_DRIVE_SERVICE_H_ | 5 #ifndef COMPONENTS_DRIVE_SERVICE_FAKE_DRIVE_SERVICE_H_ |
6 #define COMPONENTS_DRIVE_SERVICE_FAKE_DRIVE_SERVICE_H_ | 6 #define COMPONENTS_DRIVE_SERVICE_FAKE_DRIVE_SERVICE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 const google_apis::AuthStatusCallback& callback) override; | 150 const google_apis::AuthStatusCallback& callback) override; |
151 bool HasRefreshToken() const override; | 151 bool HasRefreshToken() const override; |
152 void ClearAccessToken() override; | 152 void ClearAccessToken() override; |
153 void ClearRefreshToken() override; | 153 void ClearRefreshToken() override; |
154 google_apis::CancelCallback GetAllTeamDriveList( | 154 google_apis::CancelCallback GetAllTeamDriveList( |
155 const google_apis::TeamDriveListCallback& callback) override; | 155 const google_apis::TeamDriveListCallback& callback) override; |
156 google_apis::CancelCallback GetAllFileList( | 156 google_apis::CancelCallback GetAllFileList( |
157 const google_apis::FileListCallback& callback) override; | 157 const google_apis::FileListCallback& callback) override; |
158 google_apis::CancelCallback GetFileListInDirectory( | 158 google_apis::CancelCallback GetFileListInDirectory( |
159 const std::string& directory_resource_id, | 159 const std::string& directory_resource_id, |
| 160 const std::string& team_drive_id, |
160 const google_apis::FileListCallback& callback) override; | 161 const google_apis::FileListCallback& callback) override; |
161 // See the comment for EntryMatchWidthQuery() in .cc file for details about | 162 // See the comment for EntryMatchWidthQuery() in .cc file for details about |
162 // the supported search query types. | 163 // the supported search query types. |
163 google_apis::CancelCallback Search( | 164 google_apis::CancelCallback Search( |
164 const std::string& search_query, | 165 const std::string& search_query, |
165 const google_apis::FileListCallback& callback) override; | 166 const google_apis::FileListCallback& callback) override; |
166 google_apis::CancelCallback SearchByTitle( | 167 google_apis::CancelCallback SearchByTitle( |
167 const std::string& title, | 168 const std::string& title, |
168 const std::string& directory_resource_id, | 169 const std::string& directory_resource_id, |
169 const google_apis::FileListCallback& callback) override; | 170 const google_apis::FileListCallback& callback) override; |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 base::ObserverList<ChangeObserver> change_observers_; | 428 base::ObserverList<ChangeObserver> change_observers_; |
428 | 429 |
429 base::WeakPtrFactory<FakeDriveService> weak_ptr_factory_; | 430 base::WeakPtrFactory<FakeDriveService> weak_ptr_factory_; |
430 | 431 |
431 DISALLOW_COPY_AND_ASSIGN(FakeDriveService); | 432 DISALLOW_COPY_AND_ASSIGN(FakeDriveService); |
432 }; | 433 }; |
433 | 434 |
434 } // namespace drive | 435 } // namespace drive |
435 | 436 |
436 #endif // COMPONENTS_DRIVE_SERVICE_FAKE_DRIVE_SERVICE_H_ | 437 #endif // COMPONENTS_DRIVE_SERVICE_FAKE_DRIVE_SERVICE_H_ |
OLD | NEW |