Index: content/browser/indexed_db/indexed_db_callbacks.h |
diff --git a/content/browser/indexed_db/indexed_db_callbacks.h b/content/browser/indexed_db/indexed_db_callbacks.h |
index edca21931df9b909d657b866b0e2e4c2ff7dcca2..088c16333059ae3f2b0b323441b8756a0e996775 100644 |
--- a/content/browser/indexed_db/indexed_db_callbacks.h |
+++ b/content/browser/indexed_db/indexed_db_callbacks.h |
@@ -107,6 +107,10 @@ class CONTENT_EXPORT IndexedDBCallbacks |
// IndexedDBCursor::Continue / Advance (when complete) |
virtual void OnSuccess(); |
+ // Checks to see if the associated dispatcher host is still connected. If |
+ // not this request can be dropped. |
+ virtual bool IsValid() const; |
+ |
void SetConnectionOpenStartTime(const base::TimeTicks& start_time); |
protected: |