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

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

Issue 100963005: [Pepper] Handle plugin crash on QuotaReservation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 bd7e0eac5842f6c356fd9eb48360af878e44d976..7c667316f989f65cca3b689bd988ae24ed40b198 100644
--- a/content/browser/renderer_host/pepper/quota_reservation.h
+++ b/content/browser/renderer_host/pepper/quota_reservation.h
@@ -55,6 +55,11 @@ class CONTENT_EXPORT QuotaReservation
void ReserveQuota(int64_t amount,
const OffsetMap& max_written_offsets,
const ReserveQuotaCallback& callback);
+
+ // Notifies underlying QuotaReservation of the associated client crashed, and
+ // the reserved quota is no longer tracable.
bbudge 2014/01/07 14:48:18 Comment suggestion: // Notifies underlying QuotaRe
tzik 2014/01/08 11:59:29 Done.
+ void OnClientCrash();
+
private:
friend class base::RefCountedThreadSafe<QuotaReservation,
QuotaReservationDeleter>;

Powered by Google App Engine
This is Rietveld 408576698