Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

Unified Diff: components/drive/service/drive_service_interface.h

Issue 2910913002: WIP.
Patch Set: rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/drive/service/drive_api_service.cc ('k') | components/drive/service/dummy_drive_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « components/drive/service/drive_api_service.cc ('k') | components/drive/service/dummy_drive_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698