Index: components/drive/service/drive_service_interface.h |
diff --git a/components/drive/service/drive_service_interface.h b/components/drive/service/drive_service_interface.h |
index 43ff235222ba4f5b1a8a4ff8b267d789f0899365..cae41171185775b7ba6f2d9766d038338f70c53c 100644 |
--- a/components/drive/service/drive_service_interface.h |
+++ b/components/drive/service/drive_service_interface.h |
@@ -217,6 +217,9 @@ class DriveServiceInterface : public DriveServiceBatchOperationsInterface { |
const google_apis::FileListCallback& callback) = 0; |
// Fetches a file list in the directory with |directory_resource_id|. |
+ // |team_drive_id| must be an empty string if |directory_resource_id| points |
+ // a directory under My Drive, or the ID of the team drive which the target |
+ // directory is owned by. |
// |callback| will be called upon completion. |
// If the list is too long, it may be paged. In such a case, a URL to fetch |
// remaining results will be included in the returned result. See also |
@@ -226,6 +229,7 @@ class DriveServiceInterface : public DriveServiceBatchOperationsInterface { |
// |callback| must not be null. |
virtual google_apis::CancelCallback GetFileListInDirectory( |
const std::string& directory_resource_id, |
+ const std::string& team_drive_id, |
const google_apis::FileListCallback& callback) = 0; |
// Searches the resources for the |search_query| from all the user's |