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_ |