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

Unified Diff: google_apis/drive/drive_api_requests.h

Issue 2894513003: Fetch files shared in Team Drives by specifying allTeamDrives corpora. (Closed)
Patch Set: Rename parameter variables to scope 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..827a6cf99536aa222e46fff69a21017c236639f6 100644
--- a/google_apis/drive/drive_api_requests.h
+++ b/google_apis/drive/drive_api_requests.h
@@ -532,6 +532,9 @@ class FilesListRequest : public DriveApiDataRequest<FileList> {
page_token_ = page_token;
}
+ const FilesListScope scope() const { return scope_; }
hashimoto 2017/05/26 09:09:19 This should be a const reference. const FilesListS
yamaguchi 2017/05/29 08:38:21 Done.
+ void set_scope(const FilesListScope& scope) { scope_ = scope; }
+
const std::string& q() const { return q_; }
void set_q(const std::string& q) { q_ = q; }
@@ -543,6 +546,7 @@ class FilesListRequest : public DriveApiDataRequest<FileList> {
const DriveApiUrlGenerator url_generator_;
int max_results_;
std::string page_token_;
+ FilesListScope scope_;
std::string q_;
DISALLOW_COPY_AND_ASSIGN(FilesListRequest);

Powered by Google App Engine
This is Rietveld 408576698