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 14 matching lines...) Expand all Loading... |
25 | 25 |
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 "HistogramSupport.h" | 35 #include "core/platform/HistogramSupport.h" |
36 #include "Logging.h" | 36 #include "core/platform/Logging.h" |
37 #include "core/platform/leveldb/LevelDBComparator.h" | 37 #include "core/platform/leveldb/LevelDBComparator.h" |
38 #include "core/platform/leveldb/LevelDBIterator.h" | 38 #include "core/platform/leveldb/LevelDBIterator.h" |
39 #include "core/platform/leveldb/LevelDBSlice.h" | 39 #include "core/platform/leveldb/LevelDBSlice.h" |
40 #include "core/platform/leveldb/LevelDBWriteBatch.h" | 40 #include "core/platform/leveldb/LevelDBWriteBatch.h" |
41 #include <wtf/PassOwnPtr.h> | 41 #include <wtf/PassOwnPtr.h> |
42 #include <wtf/text/CString.h> | 42 #include <wtf/text/CString.h> |
43 #include <wtf/text/WTFString.h> | 43 #include <wtf/text/WTFString.h> |
44 | 44 |
45 #include <env_idb.h> | 45 #include <env_idb.h> |
46 #include <public/Platform.h> | 46 #include <public/Platform.h> |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 return adoptPtr(new IteratorImpl(i.release())); | 360 return adoptPtr(new IteratorImpl(i.release())); |
361 } | 361 } |
362 | 362 |
363 const LevelDBComparator* LevelDBDatabase::comparator() const | 363 const LevelDBComparator* LevelDBDatabase::comparator() const |
364 { | 364 { |
365 return m_comparator; | 365 return m_comparator; |
366 } | 366 } |
367 | 367 |
368 } // namespace WebCore | 368 } // namespace WebCore |
369 | 369 |
OLD | NEW |