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

Unified Diff: google_apis/drive/drive_api_requests.h

Issue 2894513003: Fetch files shared in Team Drives by specifying allTeamDrives corpora. (Closed)
Patch Set: Make comment style consistent with existing one Created 3 years, 6 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') | google_apis/drive/drive_api_requests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/drive/drive_api_requests.h
diff --git a/google_apis/drive/drive_api_requests.h b/google_apis/drive/drive_api_requests.h
index 36492913f06b273ef917c8cd1af2c9145edd63dc..4cb9d6bdd8a512f517fcdb90314290a93222bbc5 100644
--- a/google_apis/drive/drive_api_requests.h
+++ b/google_apis/drive/drive_api_requests.h
@@ -532,6 +532,14 @@ class FilesListRequest : public DriveApiDataRequest<FileList> {
page_token_ = page_token;
}
+ FilesListCorpora corpora() const { return corpora_; }
+ void set_corpora(FilesListCorpora corpora) { corpora_ = corpora; }
+
+ const std::string& team_drive_id() const { return team_drive_id_; }
+ void set_team_drive_id(const std::string& team_drive_id) {
+ team_drive_id_ = team_drive_id;
+ }
+
const std::string& q() const { return q_; }
void set_q(const std::string& q) { q_ = q; }
@@ -543,6 +551,8 @@ class FilesListRequest : public DriveApiDataRequest<FileList> {
const DriveApiUrlGenerator url_generator_;
int max_results_;
std::string page_token_;
+ FilesListCorpora corpora_;
+ std::string team_drive_id_;
std::string q_;
DISALLOW_COPY_AND_ASSIGN(FilesListRequest);
« no previous file with comments | « components/drive/service/drive_api_service.cc ('k') | google_apis/drive/drive_api_requests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698