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

Unified Diff: third_party/leveldatabase/env_idb.h

Issue 11776009: Log IDB leveldb uma stats into LevelDBEnv.IDB. Other LevelDB consumers will (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix >80, make method definitions not inline Created 7 years, 11 months 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
« no previous file with comments | « third_party/leveldatabase/env_chromium.cc ('k') | third_party/leveldatabase/leveldatabase.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/leveldatabase/env_idb.h
diff --git a/base/test/main_hook.cc b/third_party/leveldatabase/env_idb.h
similarity index 58%
copy from base/test/main_hook.cc
copy to third_party/leveldatabase/env_idb.h
index f1f196160d52da36db7a34ac3e9c8c8e7d17a19c..d68b5ce8689ca8bfed57df9725591b5ed5b0d101 100644
--- a/base/test/main_hook.cc
+++ b/third_party/leveldatabase/env_idb.h
@@ -2,8 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/test/main_hook.h"
+#ifndef THIRD_PARTY_LEVELDATABASE_ENV_IDB_H_
+#define THIRD_PARTY_LEVELDATABASE_ENV_IDB_H_
+
+namespace leveldb {
+
+Env* IDBEnv();
+
+}
-#if !defined(OS_IOS)
-MainHook::MainHook(MainType main_func, int argc, char* argv[]) {}
#endif
« no previous file with comments | « third_party/leveldatabase/env_chromium.cc ('k') | third_party/leveldatabase/leveldatabase.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698