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

Unified Diff: google_apis/drive/drive_api_requests.h

Issue 2894513003: Fetch files shared in Team Drives by specifying allTeamDrives corpora. (Closed)
Patch Set: Eliminate variables of class type with static storage duration. 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
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..d374b6e3e9bd471a0e08638195ac984d6838853e 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(const FilesListCorpora& corpora) { corpora_ = corpora; }
hashimoto 2017/06/02 09:44:46 const FilesListCorpora& -> FilesListCorpora. enum
yamaguchi 2017/06/02 12:04:01 Done.
+
+ 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);

Powered by Google App Engine
This is Rietveld 408576698