Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(819)

Unified Diff: third_party/leveldatabase/leveldb_switches.cc

Issue 113373002: Unrevert r245135 "Created new Windows LevelDB environment." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/leveldatabase/leveldb_switches.cc
diff --git a/third_party/leveldatabase/leveldb_switches.cc b/third_party/leveldatabase/leveldb_switches.cc
new file mode 100644
index 0000000000000000000000000000000000000000..63656e793efa343798b2c8393dc715b3f09b5d7b
--- /dev/null
+++ b/third_party/leveldatabase/leveldb_switches.cc
@@ -0,0 +1,19 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "leveldb_switches.h"
+
+namespace switches {
+
+// Specify the LevelDB environment type
+const char kLevelDbEnv[] = "leveldb-env";
+
+// The values the kLevelDbEnv switch may have, as in --leveldb-env=default.
+const char kLevelDbEnvDefault[] = "default";
+// Always create a POSIX LevelDB environment
+const char kLevelDbEnvPosix[] = "posix";
+// Always create a Win32 LevelDB environment (Windows only)
+const char kLevelDbEnvWin32[] = "win32";
+
+} // namespace switches

Powered by Google App Engine
This is Rietveld 408576698