summaryrefslogtreecommitdiffstats
path: root/third_party/leveldatabase/README.chromium
blob: f12a0bf86df0701ff7b303746893031c4a8d6e83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Name: LevelDB: A Fast Persistent Key-Value Store
Short Name: leveldb
URL: http://code.google.com/p/leveldb/
Version: r77
License: New BSD
License File: src/LICENSE
Security Critical: yes

Description:
Alternative to SQLite used as the backend for IndexedDB and internally by the
FileSystem API implementation and others.

Local Additions:
* gyp file for building in chromium
* port/port_chromium.{h,cc} and env_chromium.{h,cc} provide chromium
  implementations of primitives used by leveldb.  E.g. threading, file handling,
  etc. env_chromium.h allows re-use of some utility functions.
* chromium_logger.h was copied from src/util/posix_logger.h and updated to use
  chrome primitives in place of some posix primitives
* env_idb.h allows IndexedDB to emit uma stats under separate histograms from
  other LevelDB consumers.
* ChromiumEnv wraps low-level I/O calls that may be interrupted with a
  HANDLE_EINTR macro that retries the call.
* TRACE macros/thread name for chrome://tracing diagnostics
* Handle in-process exclusive file locks, based on src/util/env_posix.cc