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

Unified Diff: google_apis/drive/drive_api_error_codes.h

Issue 1053623004: Drive: Add multipart related utility methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « google_apis/drive/base_requests.cc ('k') | google_apis/drive/drive_api_error_codes.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/drive/drive_api_error_codes.h
diff --git a/google_apis/drive/drive_api_error_codes.h b/google_apis/drive/drive_api_error_codes.h
index af4f502b39f1866c26a26ab2a18a21e9faec3e2a..eafcc11ab984434813233d80cf8c03e05b21f003 100644
--- a/google_apis/drive/drive_api_error_codes.h
+++ b/google_apis/drive/drive_api_error_codes.h
@@ -41,6 +41,9 @@ enum DriveApiErrorCode {
// Returns a string representation of DriveApiErrorCode.
std::string DriveApiErrorCodeToString(DriveApiErrorCode error);
+// Checks if the error code represents success.
+bool IsSuccessfulDriveApiErrorCode(DriveApiErrorCode error);
+
} // namespace google_apis
#endif // GOOGLE_APIS_DRIVE_DRIVE_API_ERROR_CODES_H_
« no previous file with comments | « google_apis/drive/base_requests.cc ('k') | google_apis/drive/drive_api_error_codes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698