OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 15 matching lines...) Expand all Loading... | |
26 #include "config.h" | 26 #include "config.h" |
27 #include "core/platform/leveldb/LevelDBDatabase.h" | 27 #include "core/platform/leveldb/LevelDBDatabase.h" |
28 | 28 |
29 #include <helpers/memenv/memenv.h> | 29 #include <helpers/memenv/memenv.h> |
30 #include <leveldb/comparator.h> | 30 #include <leveldb/comparator.h> |
31 #include <leveldb/db.h> | 31 #include <leveldb/db.h> |
32 #include <leveldb/env.h> | 32 #include <leveldb/env.h> |
33 #include <leveldb/slice.h> | 33 #include <leveldb/slice.h> |
34 #include <string> | 34 #include <string> |
35 #include "core/platform/HistogramSupport.h" | 35 #include "core/platform/HistogramSupport.h" |
36 #include "core/platform/Logging.h" | |
pdr.
2013/05/24 03:33:41
This might still be used.
Timothy Loh
2013/05/24 04:43:32
Fixed.
| |
37 #include "core/platform/leveldb/LevelDBComparator.h" | 36 #include "core/platform/leveldb/LevelDBComparator.h" |
38 #include "core/platform/leveldb/LevelDBIterator.h" | 37 #include "core/platform/leveldb/LevelDBIterator.h" |
39 #include "core/platform/leveldb/LevelDBSlice.h" | 38 #include "core/platform/leveldb/LevelDBSlice.h" |
40 #include "core/platform/leveldb/LevelDBWriteBatch.h" | 39 #include "core/platform/leveldb/LevelDBWriteBatch.h" |
41 #include <wtf/PassOwnPtr.h> | 40 #include <wtf/PassOwnPtr.h> |
42 #include <wtf/text/CString.h> | 41 #include <wtf/text/CString.h> |
43 #include <wtf/text/WTFString.h> | 42 #include <wtf/text/WTFString.h> |
44 | 43 |
45 #include <env_idb.h> | 44 #include <env_idb.h> |
46 #include <public/Platform.h> | 45 #include <public/Platform.h> |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
371 return adoptPtr(new IteratorImpl(i.release())); | 370 return adoptPtr(new IteratorImpl(i.release())); |
372 } | 371 } |
373 | 372 |
374 const LevelDBComparator* LevelDBDatabase::comparator() const | 373 const LevelDBComparator* LevelDBDatabase::comparator() const |
375 { | 374 { |
376 return m_comparator; | 375 return m_comparator; |
377 } | 376 } |
378 | 377 |
379 } // namespace WebCore | 378 } // namespace WebCore |
380 | 379 |
OLD | NEW |