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

Unified Diff: content/browser/indexed_db/indexed_db_callbacks.cc

Issue 2386683003: IndexedDB: Ignore open/delete requests from terminated renderers. (Closed)
Patch Set: Created 4 years, 3 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/indexed_db/indexed_db_callbacks.cc
diff --git a/content/browser/indexed_db/indexed_db_callbacks.cc b/content/browser/indexed_db/indexed_db_callbacks.cc
index 8ec899b7337334f28f8db9813bebaed259ba0869..12815dfa33a926f55e7e328649a2abba01918881 100644
--- a/content/browser/indexed_db/indexed_db_callbacks.cc
+++ b/content/browser/indexed_db/indexed_db_callbacks.cc
@@ -604,6 +604,10 @@ void IndexedDBCallbacks::OnSuccess() {
dispatcher_host_ = NULL;
}
+bool IndexedDBCallbacks::IsValid() const {
+ return dispatcher_host_->is_open();
cmumford 2016/10/03 18:39:26 All the other methods have: DCHECK(dispatcher_h
jsbell 2016/10/03 19:28:37 Done.
+}
+
void IndexedDBCallbacks::SetConnectionOpenStartTime(
const base::TimeTicks& start_time) {
connection_open_start_time_ = start_time;

Powered by Google App Engine
This is Rietveld 408576698