Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(361)

Side by Side Diff: content/browser/indexed_db/indexed_db_backing_store.cc

Issue 2370643004: Port messages sent by WebIDBFactoryImpl to Mojo. (Closed)
Patch Set: Address last nits and fix leaks in unit tests. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_backing_store.h" 5 #include "content/browser/indexed_db/indexed_db_backing_store.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/files/file_util.h" 11 #include "base/files/file_util.h"
12 #include "base/format_macros.h" 12 #include "base/format_macros.h"
13 #include "base/json/json_reader.h" 13 #include "base/json/json_reader.h"
14 #include "base/json/json_writer.h" 14 #include "base/json/json_writer.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/memory/ptr_util.h" 17 #include "base/memory/ptr_util.h"
18 #include "base/metrics/histogram_macros.h" 18 #include "base/metrics/histogram_macros.h"
19 #include "base/strings/string_util.h" 19 #include "base/strings/string_util.h"
20 #include "base/strings/stringprintf.h" 20 #include "base/strings/stringprintf.h"
21 #include "base/strings/utf_string_conversions.h" 21 #include "base/strings/utf_string_conversions.h"
22 #include "base/trace_event/memory_dump_manager.h" 22 #include "base/trace_event/memory_dump_manager.h"
23 #include "build/build_config.h" 23 #include "build/build_config.h"
24 #include "content/browser/child_process_security_policy_impl.h" 24 #include "content/browser/child_process_security_policy_impl.h"
25 #include "content/browser/indexed_db/indexed_db_blob_info.h" 25 #include "content/browser/indexed_db/indexed_db_blob_info.h"
26 #include "content/browser/indexed_db/indexed_db_class_factory.h" 26 #include "content/browser/indexed_db/indexed_db_class_factory.h"
27 #include "content/browser/indexed_db/indexed_db_context_impl.h" 27 #include "content/browser/indexed_db/indexed_db_context_impl.h"
28 #include "content/browser/indexed_db/indexed_db_database_error.h" 28 #include "content/browser/indexed_db/indexed_db_database_error.h"
29 #include "content/browser/indexed_db/indexed_db_leveldb_coding.h" 29 #include "content/browser/indexed_db/indexed_db_leveldb_coding.h"
30 #include "content/browser/indexed_db/indexed_db_metadata.h"
31 #include "content/browser/indexed_db/indexed_db_tracing.h" 30 #include "content/browser/indexed_db/indexed_db_tracing.h"
32 #include "content/browser/indexed_db/indexed_db_value.h" 31 #include "content/browser/indexed_db/indexed_db_value.h"
33 #include "content/browser/indexed_db/leveldb/leveldb_comparator.h" 32 #include "content/browser/indexed_db/leveldb/leveldb_comparator.h"
34 #include "content/browser/indexed_db/leveldb/leveldb_database.h" 33 #include "content/browser/indexed_db/leveldb/leveldb_database.h"
35 #include "content/browser/indexed_db/leveldb/leveldb_factory.h" 34 #include "content/browser/indexed_db/leveldb/leveldb_factory.h"
36 #include "content/browser/indexed_db/leveldb/leveldb_iterator.h" 35 #include "content/browser/indexed_db/leveldb/leveldb_iterator.h"
37 #include "content/browser/indexed_db/leveldb/leveldb_transaction.h" 36 #include "content/browser/indexed_db/leveldb/leveldb_transaction.h"
38 #include "content/common/indexed_db/indexed_db_key.h" 37 #include "content/common/indexed_db/indexed_db_key.h"
39 #include "content/common/indexed_db/indexed_db_key_path.h" 38 #include "content/common/indexed_db/indexed_db_key_path.h"
40 #include "content/common/indexed_db/indexed_db_key_range.h" 39 #include "content/common/indexed_db/indexed_db_key_range.h"
(...skipping 4489 matching lines...) Expand 10 before | Expand all | Expand 10 after
4530 4529
4531 IndexedDBBackingStore::Transaction::WriteDescriptor::WriteDescriptor( 4530 IndexedDBBackingStore::Transaction::WriteDescriptor::WriteDescriptor(
4532 const WriteDescriptor& other) = default; 4531 const WriteDescriptor& other) = default;
4533 IndexedDBBackingStore::Transaction::WriteDescriptor::~WriteDescriptor() = 4532 IndexedDBBackingStore::Transaction::WriteDescriptor::~WriteDescriptor() =
4534 default; 4533 default;
4535 IndexedDBBackingStore::Transaction::WriteDescriptor& 4534 IndexedDBBackingStore::Transaction::WriteDescriptor&
4536 IndexedDBBackingStore::Transaction::WriteDescriptor:: 4535 IndexedDBBackingStore::Transaction::WriteDescriptor::
4537 operator=(const WriteDescriptor& other) = default; 4536 operator=(const WriteDescriptor& other) = default;
4538 4537
4539 } // namespace content 4538 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_backing_store.h ('k') | content/browser/indexed_db/indexed_db_callbacks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698