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_impl.h" | 5 #include "content/browser/indexed_db/indexed_db_database_impl.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
14 #include "base/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
15 #include "content/browser/indexed_db/indexed_db_backing_store.h" | 15 #include "content/browser/indexed_db/indexed_db_backing_store.h" |
16 #include "content/browser/indexed_db/indexed_db_cursor_impl.h" | 16 #include "content/browser/indexed_db/indexed_db_cursor_impl.h" |
17 #include "content/browser/indexed_db/indexed_db_factory_impl.h" | 17 #include "content/browser/indexed_db/indexed_db_factory_impl.h" |
18 #include "content/browser/indexed_db/indexed_db_index_writer.h" | 18 #include "content/browser/indexed_db/indexed_db_index_writer.h" |
19 #include "content/browser/indexed_db/indexed_db_tracing.h" | 19 #include "content/browser/indexed_db/indexed_db_tracing.h" |
20 #include "content/browser/indexed_db/indexed_db_transaction.h" | 20 #include "content/browser/indexed_db/indexed_db_transaction.h" |
21 #include "content/common/indexed_db/indexed_db_key_path.h" | 21 #include "content/common/indexed_db/indexed_db_key_path.h" |
22 #include "content/common/indexed_db/indexed_db_key_range.h" | 22 #include "content/common/indexed_db/indexed_db_key_range.h" |
23 #include "third_party/WebKit/public/platform/WebIDBDatabaseException.h" | 23 #include "third_party/WebKit/public/platform/WebIDBDatabaseException.h" |
24 | 24 |
(...skipping 1789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1814 | 1814 |
1815 void IndexedDBDatabaseImpl::VersionChangeAbortOperation::Perform( | 1815 void IndexedDBDatabaseImpl::VersionChangeAbortOperation::Perform( |
1816 IndexedDBTransaction* transaction) { | 1816 IndexedDBTransaction* transaction) { |
1817 IDB_TRACE("VersionChangeAbortOperation"); | 1817 IDB_TRACE("VersionChangeAbortOperation"); |
1818 DCHECK(!transaction); | 1818 DCHECK(!transaction); |
1819 database_->metadata_.version = previous_version_; | 1819 database_->metadata_.version = previous_version_; |
1820 database_->metadata_.int_version = previous_int_version_; | 1820 database_->metadata_.int_version = previous_int_version_; |
1821 } | 1821 } |
1822 | 1822 |
1823 } // namespace content | 1823 } // namespace content |
OLD | NEW |