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

Unified Diff: webkit/browser/fileapi/quota/quota_reservation.cc

Issue 145303002: Convert Media Galleries to use base::File (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 11 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: webkit/browser/fileapi/quota/quota_reservation.cc
diff --git a/webkit/browser/fileapi/quota/quota_reservation.cc b/webkit/browser/fileapi/quota/quota_reservation.cc
index da4ef9581a6a9899a7a0f2381907ce790c57404f..af74174f50291a0db376ed3d4382e95a5480fa85 100644
--- a/webkit/browser/fileapi/quota/quota_reservation.cc
+++ b/webkit/browser/fileapi/quota/quota_reservation.cc
@@ -95,7 +95,7 @@ bool QuotaReservation::AdaptDidUpdateReservedQuota(
const base::WeakPtr<QuotaReservation>& reservation,
int64 new_reserved_size,
const StatusCallback& callback,
- base::PlatformFileError error) {
+ base::File::Error error) {
if (!reservation)
return false;
@@ -106,17 +106,17 @@ bool QuotaReservation::AdaptDidUpdateReservedQuota(
bool QuotaReservation::DidUpdateReservedQuota(
int64 new_reserved_size,
const StatusCallback& callback,
- base::PlatformFileError error) {
+ base::File::Error error) {
DCHECK(sequence_checker_.CalledOnValidSequencedThread());
DCHECK(running_refresh_request_);
running_refresh_request_ = false;
if (client_crashed_) {
- callback.Run(base::PLATFORM_FILE_ERROR_ABORT);
+ callback.Run(base::File::FILE_ERROR_ABORT);
return false;
}
- if (error == base::PLATFORM_FILE_OK)
+ if (error == base::File::FILE_OK)
remaining_quota_ = new_reserved_size;
callback.Run(error);
return true;
« no previous file with comments | « webkit/browser/fileapi/quota/quota_reservation.h ('k') | webkit/browser/fileapi/quota/quota_reservation_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698