| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/indexed_db/indexed_db_connection.h" | 5 #include "content/browser/indexed_db/indexed_db_connection.h" |
| 6 | 6 |
| 7 namespace content { | 7 namespace content { |
| 8 | 8 |
| 9 IndexedDBConnection::IndexedDBConnection( | 9 IndexedDBConnection::IndexedDBConnection( |
| 10 scoped_refptr<IndexedDBDatabase> database, | 10 scoped_refptr<IndexedDBDatabase> database, |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 database_->Close(this, true /* forced */); | 27 database_->Close(this, true /* forced */); |
| 28 database_ = NULL; | 28 database_ = NULL; |
| 29 callbacks_->OnForcedClose(); | 29 callbacks_->OnForcedClose(); |
| 30 callbacks_ = NULL; | 30 callbacks_ = NULL; |
| 31 } | 31 } |
| 32 | 32 |
| 33 bool IndexedDBConnection::IsConnected() { | 33 bool IndexedDBConnection::IsConnected() { |
| 34 return database_.get() != NULL; | 34 return database_.get() != NULL; |
| 35 } | 35 } |
| 36 | 36 |
| 37 } // namespace WebKit | 37 } // namespace blink |
| OLD | NEW |