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

Unified Diff: crypto/run_all_unittests.cc

Issue 6805019: Move crypto files out of base, to a top level directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 8 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
Index: crypto/run_all_unittests.cc
===================================================================
--- crypto/run_all_unittests.cc (revision 79901)
+++ crypto/run_all_unittests.cc (working copy)
@@ -1,9 +1,14 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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/test_suite.h"
+#include "crypto/nss_util.h"
int main(int argc, char** argv) {
+#if defined(USE_NSS)
+ crypto::EnsureNSSInit();
wtc 2011/04/07 05:35:53 Why is this necessary? Is this copied from base/t
rvargas (doing something else) 2011/04/08 21:04:07 Yes this comes from base, but base is not testing
+#endif // defined(USE_NSS)
+
return base::TestSuite(argc, argv).Run();
}

Powered by Google App Engine
This is Rietveld 408576698