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

Unified Diff: google_apis/drive/drive_api_requests.h

Issue 2854653004: Add parameter to issue URLs for querying a ChangeList of a Team Drive. (Closed)
Patch Set: Remove redundant comment. Created 3 years, 8 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 | « no previous file | google_apis/drive/drive_api_requests.cc » ('j') | google_apis/drive/drive_api_requests.cc » ('J')
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 17ae9ab14c2e44effeaa5667127368764a3b402e..a5d4a0dcabfaac79ffadc28b7bfd104c08bb7c6c 100644
--- a/google_apis/drive/drive_api_requests.h
+++ b/google_apis/drive/drive_api_requests.h
@@ -690,6 +690,11 @@ class ChangesListRequest : public DriveApiDataRequest<ChangeList> {
start_change_id_ = start_change_id;
}
+ 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_;
hashimoto 2017/05/02 08:15:24 The right hand side should be team_drive_id.
yamaguchi 2017/05/02 08:57:16 Done. Also added unit test to cover this in drive_
+ }
+
protected:
// Overridden from DriveApiDataRequest.
GURL GetURLInternal() const override;
@@ -700,6 +705,7 @@ class ChangesListRequest : public DriveApiDataRequest<ChangeList> {
int max_results_;
std::string page_token_;
int64_t start_change_id_;
+ std::string team_drive_id_;
DISALLOW_COPY_AND_ASSIGN(ChangesListRequest);
};
« no previous file with comments | « no previous file | google_apis/drive/drive_api_requests.cc » ('j') | google_apis/drive/drive_api_requests.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698