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

Unified Diff: google_apis/drive/request_sender.h

Issue 1218773003: Implement a DRIVE_REQUEST_TOO_LARGE backoff. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 6 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/request_sender.h
diff --git a/google_apis/drive/request_sender.h b/google_apis/drive/request_sender.h
index ff5130da24c4c67a907b15f70d88f348a8360ff6..6ace7976ff97d2201816224cfbc4a35d8d89b682 100644
--- a/google_apis/drive/request_sender.h
+++ b/google_apis/drive/request_sender.h
@@ -69,7 +69,8 @@ class RequestSender {
//
// Returns a closure to cancel the request. The closure cancels the request
// if it is in-flight, and does nothing if it is already terminated.
- base::Closure StartRequestWithRetry(AuthenticatedRequestInterface* request);
+ base::Closure StartRequestWithAuthRetry(
+ AuthenticatedRequestInterface* request);
// Notifies to this RequestSender that |request| has finished.
// TODO(kinaba): refactor the life time management and make this at private.
@@ -87,7 +88,7 @@ class RequestSender {
void RetryRequest(AuthenticatedRequestInterface* request);
// Cancels the request. Used for implementing the returned closure of
- // StartRequestWithRetry.
+ // StartRequestWithAuthRetry.
void CancelRequest(
const base::WeakPtr<AuthenticatedRequestInterface>& request);

Powered by Google App Engine
This is Rietveld 408576698