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 #ifndef CONTENT_BROWSER_INDEXED_DB_LEVELDB_LEVELDB_DATABASE_H_ | 5 #ifndef CONTENT_BROWSER_INDEXED_DB_LEVELDB_LEVELDB_DATABASE_H_ |
6 #define CONTENT_BROWSER_INDEXED_DB_LEVELDB_LEVELDB_DATABASE_H_ | 6 #define CONTENT_BROWSER_INDEXED_DB_LEVELDB_LEVELDB_DATABASE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | |
10 | 9 |
11 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
13 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
14 #include "base/strings/string_piece.h" | 13 #include "base/strings/string_piece.h" |
15 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
16 #include "third_party/leveldatabase/src/include/leveldb/status.h" | 15 #include "third_party/leveldatabase/src/include/leveldb/status.h" |
17 | 16 |
18 namespace leveldb { | 17 namespace leveldb { |
19 class Comparator; | 18 class Comparator; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 69 |
71 scoped_ptr<leveldb::Env> env_; | 70 scoped_ptr<leveldb::Env> env_; |
72 scoped_ptr<leveldb::Comparator> comparator_adapter_; | 71 scoped_ptr<leveldb::Comparator> comparator_adapter_; |
73 scoped_ptr<leveldb::DB> db_; | 72 scoped_ptr<leveldb::DB> db_; |
74 const LevelDBComparator* comparator_; | 73 const LevelDBComparator* comparator_; |
75 }; | 74 }; |
76 | 75 |
77 } // namespace content | 76 } // namespace content |
78 | 77 |
79 #endif // CONTENT_BROWSER_INDEXED_DB_LEVELDB_LEVELDB_DATABASE_H_ | 78 #endif // CONTENT_BROWSER_INDEXED_DB_LEVELDB_LEVELDB_DATABASE_H_ |
OLD | NEW |