Index: crypto/run_all_unittests.cc |
diff --git a/crypto/run_all_unittests.cc b/crypto/run_all_unittests.cc |
index 9b6fc467a68d7237d4077f9005fdbc6d1c6b4701..d535b0350658f47954c9460ca37f38536fe82cd7 100644 |
--- a/crypto/run_all_unittests.cc |
+++ b/crypto/run_all_unittests.cc |
@@ -1,7 +1,8 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 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 "base/test/main_hook.h" |
#include "base/test/test_suite.h" |
#include "crypto/nss_util.h" |
@@ -12,6 +13,7 @@ int main(int argc, char** argv) { |
// TODO(rvargas) Bug 79359: remove this. |
crypto::EnsureNSSInit(); |
#endif // defined(USE_NSS) |
+ MainHook hook(main, argc, argv); |
stuartmorgan
2012/08/06 16:07:31
This should be the very first call.
msarda
2012/08/07 08:39:44
The code we have in the iOS tree does this call at
stuartmorgan
2012/08/07 09:21:28
And it's wrong, which is why I want you to change
msarda
2012/08/07 09:42:17
Done.
|
return base::TestSuite(argc, argv).Run(); |
} |