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

Unified Diff: content/browser/renderer_host/pepper/quota_reservation.h

Issue 131043002: [Pepper] Use platform path for QuotaReservation::GetOpenFileHandle (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: suppress DCHECK failure 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: content/browser/renderer_host/pepper/quota_reservation.h
diff --git a/content/browser/renderer_host/pepper/quota_reservation.h b/content/browser/renderer_host/pepper/quota_reservation.h
index 36ffdb3f6e4d50372983b65479852673ea736276..fb629237008d9bcf7aaa9120a7a3e28032887495 100644
--- a/content/browser/renderer_host/pepper/quota_reservation.h
+++ b/content/browser/renderer_host/pepper/quota_reservation.h
@@ -15,11 +15,8 @@
#include "url/gurl.h"
#include "webkit/browser/fileapi/file_system_context.h"
-namespace base {
-class FilePath;
-}
-
namespace fileapi {
+class FileSystemURL;
class OpenFileHandle;
class QuotaReservation;
}
@@ -44,7 +41,7 @@ class CONTENT_EXPORT QuotaReservation
fileapi::FileSystemType file_system_type);
// Opens a file with the given id and path and returns its current size.
- int64_t OpenFile(int32_t id, const base::FilePath& file_path);
+ int64_t OpenFile(int32_t id, const fileapi::FileSystemURL& url);
// Closes the file opened by OpenFile with the given id.
void CloseFile(int32_t id, int64_t max_written_offset);
// Refreshes the quota reservation to a new amount. A map that associates file

Powered by Google App Engine
This is Rietveld 408576698