| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_QUOTA_RESERVATION_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_QUOTA_RESERVATION_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_QUOTA_RESERVATION_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_QUOTA_RESERVATION_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/platform_file.h" | |
| 13 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 14 #include "ppapi/c/pp_stdint.h" // For int64_t on Windows. | 13 #include "ppapi/c/pp_stdint.h" // For int64_t on Windows. |
| 15 #include "ppapi/shared_impl/file_growth.h" | 14 #include "ppapi/shared_impl/file_growth.h" |
| 16 #include "url/gurl.h" | 15 #include "url/gurl.h" |
| 17 #include "webkit/browser/fileapi/file_system_context.h" | 16 #include "webkit/browser/fileapi/file_system_context.h" |
| 18 | 17 |
| 19 namespace fileapi { | 18 namespace fileapi { |
| 20 class FileSystemURL; | 19 class FileSystemURL; |
| 21 class OpenFileHandle; | 20 class OpenFileHandle; |
| 22 class QuotaReservation; | 21 class QuotaReservation; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 | 92 |
| 94 struct QuotaReservationDeleter { | 93 struct QuotaReservationDeleter { |
| 95 static void Destruct(const QuotaReservation* quota_reservation) { | 94 static void Destruct(const QuotaReservation* quota_reservation) { |
| 96 quota_reservation->DeleteOnCorrectThread(); | 95 quota_reservation->DeleteOnCorrectThread(); |
| 97 } | 96 } |
| 98 }; | 97 }; |
| 99 | 98 |
| 100 } // namespace content | 99 } // namespace content |
| 101 | 100 |
| 102 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_QUOTA_RESERVATION_H_ | 101 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_QUOTA_RESERVATION_H_ |
| OLD | NEW |