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

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

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.h
diff --git a/webkit/browser/fileapi/quota/quota_reservation.h b/webkit/browser/fileapi/quota/quota_reservation.h
index 18fbcb422e906b4e6e81b9e7b8260e63685529bb..dad3b30de2145e1f76164e9f8ef9e030fbc3bb60 100644
--- a/webkit/browser/fileapi/quota/quota_reservation.h
+++ b/webkit/browser/fileapi/quota/quota_reservation.h
@@ -6,6 +6,7 @@
#define WEBKIT_BROWSER_FILEAPI_QUOTA_QUOTA_RESERVATION_H_
#include "base/basictypes.h"
+#include "base/files/file.h"
#include "base/files/file_path.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
@@ -24,7 +25,7 @@ class OpenFileHandle;
class WEBKIT_STORAGE_BROWSER_EXPORT QuotaReservation
: public base::RefCounted<QuotaReservation> {
public:
- typedef base::Callback<void(base::PlatformFileError error)> StatusCallback;
+ typedef base::Callback<void(base::File::Error error)> StatusCallback;
// Reclaims unused quota and reserves another |size| of quota. So that the
// resulting new |remaining_quota| will be same as |size|.
@@ -68,10 +69,10 @@ class WEBKIT_STORAGE_BROWSER_EXPORT QuotaReservation
const base::WeakPtr<QuotaReservation>& reservation,
int64 new_reserved_size,
const StatusCallback& callback,
- base::PlatformFileError error);
+ base::File::Error error);
bool DidUpdateReservedQuota(int64 new_reserved_size,
const StatusCallback& callback,
- base::PlatformFileError error);
+ base::File::Error error);
bool client_crashed_;
bool running_refresh_request_;
« no previous file with comments | « webkit/browser/fileapi/quota/quota_backend_impl_unittest.cc ('k') | webkit/browser/fileapi/quota/quota_reservation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698