Index: google_apis/drive/drive_api_requests.cc |
diff --git a/google_apis/drive/drive_api_requests.cc b/google_apis/drive/drive_api_requests.cc |
index f0960e6f23736af115fc6dcd1823d6f121e03bc9..79ef01a34430fc07e8d992d44205b3696976572e 100644 |
--- a/google_apis/drive/drive_api_requests.cc |
+++ b/google_apis/drive/drive_api_requests.cc |
@@ -505,6 +505,26 @@ GURL AppsListRequest::GetURLInternal() const { |
return url_generator_.GetAppsListUrl(); |
} |
+//============================== AppsDeleteRequest =========================== |
+ |
+AppsDeleteRequest::AppsDeleteRequest(RequestSender* sender, |
+ const DriveApiUrlGenerator& url_generator, |
+ const EntryActionCallback& callback) |
+ : EntryActionRequest(sender, callback), |
+ url_generator_(url_generator) { |
+ DCHECK(!callback.is_null()); |
+} |
+ |
+AppsDeleteRequest::~AppsDeleteRequest() {} |
+ |
+net::URLFetcher::RequestType AppsDeleteRequest::GetRequestType() const { |
+ return net::URLFetcher::DELETE_REQUEST; |
+} |
+ |
+GURL AppsDeleteRequest::GetURL() const { |
+ return url_generator_.GetAppsDeleteUrl(app_id_); |
+} |
+ |
//========================== ChildrenInsertRequest ============================ |
ChildrenInsertRequest::ChildrenInsertRequest( |