1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/browser/indexed_db/leveldb/leveldb_env.h"
9 // Static member initialization.
10 base::LazyInstance
<content::LevelDBEnv
>::Leaky g_leveldb_env
=
11 LAZY_INSTANCE_INITIALIZER
;
17 LevelDBEnv::LevelDBEnv()
18 : ChromiumEnv("LevelDBEnv.IDB", true /* backup tables */) {
21 LevelDBEnv
* LevelDBEnv::Get() {
22 return g_leveldb_env
.Pointer();
25 } // namespace content