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

Side by Side Diff: google_apis/drive/drive_api_url_generator.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, 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef GOOGLE_APIS_DRIVE_DRIVE_API_URL_GENERATOR_H_ 5 #ifndef GOOGLE_APIS_DRIVE_DRIVE_API_URL_GENERATOR_H_
6 #define GOOGLE_APIS_DRIVE_DRIVE_API_URL_GENERATOR_H_ 6 #define GOOGLE_APIS_DRIVE_DRIVE_API_URL_GENERATOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 GURL GetFilesTrashUrl(const std::string& file_id) const; 77 GURL GetFilesTrashUrl(const std::string& file_id) const;
78 78
79 // Returns a URL to invoke "TeamDrives: list" method. 79 // Returns a URL to invoke "TeamDrives: list" method.
80 GURL GetTeamDriveListUrl(int max_results, 80 GURL GetTeamDriveListUrl(int max_results,
81 const std::string& page_token) const; 81 const std::string& page_token) const;
82 82
83 // Returns a URL to fetch a list of changes. 83 // Returns a URL to fetch a list of changes.
84 GURL GetChangesListUrl(bool include_deleted, 84 GURL GetChangesListUrl(bool include_deleted,
85 int max_results, 85 int max_results,
86 const std::string& page_token, 86 const std::string& page_token,
87 int64_t start_change_id) const; 87 int64_t start_change_id,
88 const std::string& team_dirve_id) const;
88 89
89 // Returns a URL to add a resource to a directory with |folder_id|. 90 // Returns a URL to add a resource to a directory with |folder_id|.
90 GURL GetChildrenInsertUrl(const std::string& folder_id) const; 91 GURL GetChildrenInsertUrl(const std::string& folder_id) const;
91 92
92 // Returns a URL to remove a resource with |child_id| from a directory 93 // Returns a URL to remove a resource with |child_id| from a directory
93 // with |folder_id|. 94 // with |folder_id|.
94 GURL GetChildrenDeleteUrl(const std::string& child_id, 95 GURL GetChildrenDeleteUrl(const std::string& child_id,
95 const std::string& folder_id) const; 96 const std::string& folder_id) const;
96 97
97 // Returns a URL to initiate "resumable upload" of a new file that uploads 98 // Returns a URL to initiate "resumable upload" of a new file that uploads
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 const GURL base_download_url_; 135 const GURL base_download_url_;
135 const GURL base_thumbnail_url_; 136 const GURL base_thumbnail_url_;
136 const bool enable_team_drives_; 137 const bool enable_team_drives_;
137 138
138 // This class is copyable hence no DISALLOW_COPY_AND_ASSIGN here. 139 // This class is copyable hence no DISALLOW_COPY_AND_ASSIGN here.
139 }; 140 };
140 141
141 } // namespace google_apis 142 } // namespace google_apis
142 143
143 #endif // GOOGLE_APIS_DRIVE_DRIVE_API_URL_GENERATOR_H_ 144 #endif // GOOGLE_APIS_DRIVE_DRIVE_API_URL_GENERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698