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

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

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
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/indexed_db/indexed_db_backing_store.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_ 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_ 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <map> 11 #include <map>
12 #include <memory> 12 #include <memory>
13 #include <set> 13 #include <set>
14 #include <string> 14 #include <string>
15 #include <utility> 15 #include <utility>
16 #include <vector> 16 #include <vector>
17 17
18 #include "base/files/file_path.h" 18 #include "base/files/file_path.h"
19 #include "base/gtest_prod_util.h" 19 #include "base/gtest_prod_util.h"
20 #include "base/macros.h" 20 #include "base/macros.h"
21 #include "base/memory/ref_counted.h" 21 #include "base/memory/ref_counted.h"
22 #include "base/strings/string_piece.h" 22 #include "base/strings/string_piece.h"
23 #include "base/time/time.h" 23 #include "base/time/time.h"
24 #include "base/timer/timer.h" 24 #include "base/timer/timer.h"
25 #include "content/browser/indexed_db/indexed_db.h" 25 #include "content/browser/indexed_db/indexed_db.h"
26 #include "content/browser/indexed_db/indexed_db_active_blob_registry.h" 26 #include "content/browser/indexed_db/indexed_db_active_blob_registry.h"
27 #include "content/browser/indexed_db/indexed_db_blob_info.h" 27 #include "content/browser/indexed_db/indexed_db_blob_info.h"
28 #include "content/browser/indexed_db/indexed_db_leveldb_coding.h" 28 #include "content/browser/indexed_db/indexed_db_leveldb_coding.h"
29 #include "content/browser/indexed_db/indexed_db_metadata.h"
30 #include "content/browser/indexed_db/leveldb/leveldb_iterator.h" 29 #include "content/browser/indexed_db/leveldb/leveldb_iterator.h"
31 #include "content/browser/indexed_db/leveldb/leveldb_transaction.h" 30 #include "content/browser/indexed_db/leveldb/leveldb_transaction.h"
32 #include "content/common/content_export.h" 31 #include "content/common/content_export.h"
33 #include "content/common/indexed_db/indexed_db_key.h" 32 #include "content/common/indexed_db/indexed_db_key.h"
34 #include "content/common/indexed_db/indexed_db_key_path.h" 33 #include "content/common/indexed_db/indexed_db_key_path.h"
35 #include "content/common/indexed_db/indexed_db_key_range.h" 34 #include "content/common/indexed_db/indexed_db_key_range.h"
35 #include "content/common/indexed_db/indexed_db_metadata.h"
36 #include "storage/browser/blob/blob_data_handle.h" 36 #include "storage/browser/blob/blob_data_handle.h"
37 #include "third_party/leveldatabase/src/include/leveldb/status.h" 37 #include "third_party/leveldatabase/src/include/leveldb/status.h"
38 #include "url/gurl.h" 38 #include "url/gurl.h"
39 #include "url/origin.h" 39 #include "url/origin.h"
40 40
41 namespace base { 41 namespace base {
42 class SequencedTaskRunner; 42 class SequencedTaskRunner;
43 } 43 }
44 44
45 namespace storage { 45 namespace storage {
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 // complete. While > 0, temporary journal entries may exist so out-of-band 685 // complete. While > 0, temporary journal entries may exist so out-of-band
686 // journal cleaning must be deferred. 686 // journal cleaning must be deferred.
687 size_t committing_transaction_count_; 687 size_t committing_transaction_count_;
688 688
689 DISALLOW_COPY_AND_ASSIGN(IndexedDBBackingStore); 689 DISALLOW_COPY_AND_ASSIGN(IndexedDBBackingStore);
690 }; 690 };
691 691
692 } // namespace content 692 } // namespace content
693 693
694 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_ 694 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_BACKING_STORE_H_
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/indexed_db/indexed_db_backing_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698