Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / content / browser / indexed_db / leveldb / leveldb_env.h
blobac606ede911e2e3c092684709138f1c44167605e
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 #ifndef CONTENT_BROWSER_INDEXED_DB_LEVELDB_LEVELDB_ENV_H_
6 #define CONTENT_BROWSER_INDEXED_DB_LEVELDB_LEVELDB_ENV_H_
8 #include "base/lazy_instance.h"
9 #include "content/common/content_export.h"
10 #include "third_party/leveldatabase/env_chromium.h"
12 namespace content {
14 // The leveldb::Env used by the Indexed DB backend.
15 class LevelDBEnv : public leveldb_env::ChromiumEnv {
16 LevelDBEnv();
18 public:
19 friend struct base::DefaultLazyInstanceTraits<LevelDBEnv>;
21 CONTENT_EXPORT static LevelDBEnv* Get();
24 } // namespace content
26 #endif // CONTENT_BROWSER_INDEXED_DB_LEVELDB_LEVELDB_ENV_H_