| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_transaction_coordinator.h" | 5 #include "content/browser/indexed_db/indexed_db_transaction_coordinator.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "content/browser/indexed_db/indexed_db_transaction.h" | 9 #include "content/browser/indexed_db/indexed_db_transaction.h" |
| 10 #include "third_party/WebKit/public/platform/WebIDBTypes.h" | 10 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h" |
| 11 | 11 |
| 12 namespace content { | 12 namespace content { |
| 13 | 13 |
| 14 IndexedDBTransactionCoordinator::IndexedDBTransactionCoordinator() {} | 14 IndexedDBTransactionCoordinator::IndexedDBTransactionCoordinator() {} |
| 15 | 15 |
| 16 IndexedDBTransactionCoordinator::~IndexedDBTransactionCoordinator() { | 16 IndexedDBTransactionCoordinator::~IndexedDBTransactionCoordinator() { |
| 17 DCHECK(!queued_transactions_.size()); | 17 DCHECK(!queued_transactions_.size()); |
| 18 DCHECK(!started_transactions_.size()); | 18 DCHECK(!started_transactions_.size()); |
| 19 } | 19 } |
| 20 | 20 |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 | 147 |
| 148 case blink::WebIDBTransactionModeReadOnly: | 148 case blink::WebIDBTransactionModeReadOnly: |
| 149 case blink::WebIDBTransactionModeReadWrite: | 149 case blink::WebIDBTransactionModeReadWrite: |
| 150 return !DoSetsIntersect(transaction->scope(), locked_scope); | 150 return !DoSetsIntersect(transaction->scope(), locked_scope); |
| 151 } | 151 } |
| 152 NOTREACHED(); | 152 NOTREACHED(); |
| 153 return false; | 153 return false; |
| 154 } | 154 } |
| 155 | 155 |
| 156 } // namespace content | 156 } // namespace content |
| OLD | NEW |