Searched refs:QuotaReservation (Results 1 - 22 of 22) sorted by relevance

/external/chromium_org/content/browser/renderer_host/pepper/
H A Dquota_reservation.h21 class QuotaReservation;
28 // This class holds a QuotaReservation and manages OpenFileHandles for checking
33 class CONTENT_EXPORT QuotaReservation class in namespace:content
34 : public base::RefCountedThreadSafe<QuotaReservation,
38 static scoped_refptr<QuotaReservation> Create(
56 // Notifies underlying QuotaReservation that the associated client crashed,
61 friend class base::RefCountedThreadSafe<QuotaReservation,
63 friend class base::DeleteHelper<QuotaReservation>;
67 QuotaReservation(
72 // For unit testing only. A QuotaReservation intende
[all...]
H A Dquota_reservation.cc18 scoped_refptr<QuotaReservation> QuotaReservation::Create(
22 return scoped_refptr<QuotaReservation>(
23 new QuotaReservation(file_system_context, origin_url, type));
26 QuotaReservation::QuotaReservation( function in class:content::QuotaReservation
37 QuotaReservation::QuotaReservation( function in class:content::QuotaReservation
38 scoped_refptr<storage::QuotaReservation> quota_reservation,
44 QuotaReservation
[all...]
H A Dquota_reservation_unittest.cc94 scoped_refptr<QuotaReservation> CreateQuotaReservation(
95 scoped_refptr<storage::QuotaReservation> reservation,
99 return scoped_refptr<QuotaReservation>(
100 new QuotaReservation(reservation, origin, type));
135 void ReserveQuota(scoped_refptr<QuotaReservation> quota_reservation,
153 scoped_refptr<storage::QuotaReservation> reservation(
155 scoped_refptr<QuotaReservation> test =
194 scoped_refptr<storage::QuotaReservation> reservation(
196 scoped_refptr<QuotaReservation> test =
H A Dpepper_file_system_browser_host.cc72 base::Bind(&QuotaReservation::OnClientCrash, quota_reservation_));
130 base::Bind(&QuotaReservation::OpenFile, quota_reservation_, id, url),
152 &QuotaReservation::CloseFile, quota_reservation_, id, file_growth));
381 base::Bind(&QuotaReservation::ReserveQuota,
442 base::Bind(&QuotaReservation::Create,
453 scoped_refptr<QuotaReservation> quota_reservation) {
H A Dpepper_file_system_browser_host.h130 scoped_refptr<QuotaReservation> quota_reservation);
163 scoped_refptr<QuotaReservation> quota_reservation_;
/external/chromium_org/storage/browser/fileapi/quota/
H A Dquota_reservation.cc13 void QuotaReservation::RefreshReservation(
26 base::Bind(&QuotaReservation::AdaptDidUpdateReservedQuota,
34 scoped_ptr<OpenFileHandle> QuotaReservation::GetOpenFileHandle(
41 void QuotaReservation::OnClientCrash() {
51 void QuotaReservation::ConsumeReservation(int64 size) {
62 QuotaReservationManager* QuotaReservation::reservation_manager() {
66 const GURL& QuotaReservation::origin() const {
70 FileSystemType QuotaReservation::type() const {
74 QuotaReservation::QuotaReservation( function in class:storage::QuotaReservation
[all...]
H A Dquota_reservation.h25 class STORAGE_EXPORT QuotaReservation class in namespace:storage
26 : public base::RefCounted<QuotaReservation> {
37 // Associates |platform_path| to the QuotaReservation instance.
45 // QuotaReservation puts all remaining quota to the QuotaReservationBuffer, so
65 explicit QuotaReservation(QuotaReservationBuffer* reservation_buffer);
67 friend class base::RefCounted<QuotaReservation>;
68 virtual ~QuotaReservation();
71 const base::WeakPtr<QuotaReservation>& reservation,
88 base::WeakPtrFactory<QuotaReservation> weak_ptr_factory_;
90 DISALLOW_COPY_AND_ASSIGN(QuotaReservation);
[all...]
H A Dopen_file_handle.h19 class QuotaReservation;
32 // file before calling QuotaReservation::RefreshQuota and before closing the
39 // file before calling QuotaReservation::RefreshQuota and before closing the
57 OpenFileHandle(QuotaReservation* reservation,
60 scoped_refptr<QuotaReservation> reservation_;
H A Dquota_reservation_buffer.h21 class QuotaReservation;
26 // QuotaReservationBuffer manages QuotaReservation instances. All consumed
27 // quota and leaked quota by associated QuotaReservation will be staged in
29 // The instance keeps alive while any associated QuotaReservation or
32 // QuotaReservation.
40 scoped_refptr<QuotaReservation> CreateReservation();
42 QuotaReservation* reservation,
H A Dquota_reservation_buffer.cc27 scoped_refptr<QuotaReservation> QuotaReservationBuffer::CreateReservation() {
29 return make_scoped_refptr(new QuotaReservation(this));
33 QuotaReservation* reservation,
H A Dquota_reservation_manager.h26 class QuotaReservation;
80 scoped_refptr<QuotaReservation> CreateReservation(
88 friend class QuotaReservation;
H A Dopen_file_handle.cc48 OpenFileHandle::OpenFileHandle(QuotaReservation* reservation,
H A Dquota_reservation_manager.cc84 scoped_refptr<QuotaReservation> QuotaReservationManager::CreateReservation(
/external/chromium_org/storage/browser/fileapi/
H A Dfile_system_quota_util.h28 class QuotaReservation;
60 virtual scoped_refptr<QuotaReservation>
H A Dfile_system_context.h66 class QuotaReservation;
132 // Creates a new QuotaReservation for the given |origin_url| and |type|.
136 scoped_refptr<QuotaReservation> CreateQuotaReservationOnFileTaskRunner(
H A Dplugin_private_file_system_backend.cc268 scoped_refptr<QuotaReservation>
274 return scoped_refptr<QuotaReservation>();
H A Dplugin_private_file_system_backend.h116 virtual scoped_refptr<QuotaReservation>
H A Dsandbox_file_system_backend_delegate.h146 virtual scoped_refptr<QuotaReservation>
H A Dfile_system_context.cc221 scoped_refptr<QuotaReservation>
228 return scoped_refptr<QuotaReservation>();
H A Dsandbox_file_system_backend_delegate.cc425 scoped_refptr<QuotaReservation>
/external/chromium_org/content/browser/quota/
H A Dquota_reservation_manager_unittest.cc20 using storage::QuotaReservation;
169 void RefreshReservation(QuotaReservation* reservation, int64 size) {
220 scoped_refptr<QuotaReservation> reservation =
261 scoped_refptr<QuotaReservation> reservation =
295 scoped_refptr<QuotaReservation> reservation1 =
300 scoped_refptr<QuotaReservation> reservation2 =
341 scoped_refptr<QuotaReservation> reservation1 =
345 scoped_refptr<QuotaReservation> reservation2 =
/external/chromium_org/content/public/test/
H A Dtest_file_system_backend.cc174 virtual scoped_refptr<storage::QuotaReservation>
179 return scoped_refptr<storage::QuotaReservation>();

Completed in 187 milliseconds