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 |