Chromium Code Reviews| 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; |