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_database.h" | 5 #include "content/browser/indexed_db/indexed_db_database.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "content/browser/indexed_db/indexed_db_factory.h" | 22 #include "content/browser/indexed_db/indexed_db_factory.h" |
23 #include "content/browser/indexed_db/indexed_db_index_writer.h" | 23 #include "content/browser/indexed_db/indexed_db_index_writer.h" |
24 #include "content/browser/indexed_db/indexed_db_pending_connection.h" | 24 #include "content/browser/indexed_db/indexed_db_pending_connection.h" |
25 #include "content/browser/indexed_db/indexed_db_return_value.h" | 25 #include "content/browser/indexed_db/indexed_db_return_value.h" |
26 #include "content/browser/indexed_db/indexed_db_tracing.h" | 26 #include "content/browser/indexed_db/indexed_db_tracing.h" |
27 #include "content/browser/indexed_db/indexed_db_transaction.h" | 27 #include "content/browser/indexed_db/indexed_db_transaction.h" |
28 #include "content/browser/indexed_db/indexed_db_value.h" | 28 #include "content/browser/indexed_db/indexed_db_value.h" |
29 #include "content/common/indexed_db/indexed_db_key_path.h" | 29 #include "content/common/indexed_db/indexed_db_key_path.h" |
30 #include "content/common/indexed_db/indexed_db_key_range.h" | 30 #include "content/common/indexed_db/indexed_db_key_range.h" |
31 #include "storage/browser/blob/blob_data_handle.h" | 31 #include "storage/browser/blob/blob_data_handle.h" |
32 #include "third_party/WebKit/public/platform/WebIDBDatabaseException.h" | 32 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseExc
eption.h" |
33 #include "third_party/leveldatabase/env_chromium.h" | 33 #include "third_party/leveldatabase/env_chromium.h" |
34 | 34 |
35 using base::ASCIIToUTF16; | 35 using base::ASCIIToUTF16; |
36 using base::Int64ToString16; | 36 using base::Int64ToString16; |
37 using blink::WebIDBKeyTypeNumber; | 37 using blink::WebIDBKeyTypeNumber; |
38 | 38 |
39 namespace content { | 39 namespace content { |
40 | 40 |
41 namespace { | 41 namespace { |
42 | 42 |
(...skipping 1770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1813 IndexedDBTransaction* transaction) { | 1813 IndexedDBTransaction* transaction) { |
1814 DCHECK(!transaction); | 1814 DCHECK(!transaction); |
1815 IDB_TRACE1("IndexedDBDatabase::VersionChangeAbortOperation", | 1815 IDB_TRACE1("IndexedDBDatabase::VersionChangeAbortOperation", |
1816 "txn.id", | 1816 "txn.id", |
1817 transaction->id()); | 1817 transaction->id()); |
1818 metadata_.version = previous_version; | 1818 metadata_.version = previous_version; |
1819 metadata_.int_version = previous_int_version; | 1819 metadata_.int_version = previous_int_version; |
1820 } | 1820 } |
1821 | 1821 |
1822 } // namespace content | 1822 } // namespace content |
OLD | NEW |