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_INDEXED_DB_LEVELDB_CODING_H_ | 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_LEVELDB_CODING_H_ |
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_LEVELDB_CODING_H_ | 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_LEVELDB_CODING_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/string16.h" | 14 #include "base/strings/string16.h" |
15 #include "base/strings/string_piece.h" | 15 #include "base/strings/string_piece.h" |
16 #include "content/common/indexed_db/indexed_db_key.h" | 16 #include "content/common/indexed_db/indexed_db_key.h" |
17 #include "content/common/indexed_db/indexed_db_key_path.h" | 17 #include "content/common/indexed_db/indexed_db_key_path.h" |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 | 20 |
21 class LevelDBSlice; | 21 class LevelDBSlice; |
22 | 22 |
23 CONTENT_EXPORT extern const unsigned char kMinimumIndexId; | 23 CONTENT_EXPORT extern const unsigned char kMinimumIndexId; |
24 | 24 |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 std::vector<char> encoded_user_key_; | 446 std::vector<char> encoded_user_key_; |
447 std::vector<char> encoded_primary_key_; | 447 std::vector<char> encoded_primary_key_; |
448 int64 sequence_number_; | 448 int64 sequence_number_; |
449 | 449 |
450 DISALLOW_COPY_AND_ASSIGN(IndexDataKey); | 450 DISALLOW_COPY_AND_ASSIGN(IndexDataKey); |
451 }; | 451 }; |
452 | 452 |
453 } // namespace content | 453 } // namespace content |
454 | 454 |
455 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_LEVELDB_CODING_H_ | 455 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_LEVELDB_CODING_H_ |
OLD | NEW |