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

Unified Diff: trunk/src/chromeos/network/onc/onc_certificate_importer_unittest.cc

Issue 16063002: Revert 202305 "Destroy all Singletons and LazyInstances between ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 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 | « trunk/src/base/test/test_suite.cc ('k') | trunk/src/crypto/nss_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chromeos/network/onc/onc_certificate_importer_unittest.cc
===================================================================
--- trunk/src/chromeos/network/onc/onc_certificate_importer_unittest.cc (revision 202308)
+++ trunk/src/chromeos/network/onc/onc_certificate_importer_unittest.cc (working copy)
@@ -12,7 +12,6 @@
#include "base/logging.h"
#include "base/string_number_conversions.h"
-#include "base/threading/platform_thread.h"
#include "base/values.h"
#include "chromeos/network/onc/onc_constants.h"
#include "chromeos/network/onc/onc_test_utils.h"
@@ -81,10 +80,6 @@
void AddCertificatesFromFile(
std::string filename,
CertificateImporter::ParseResult expected_parse_result) {
- // This 1 second sleep is necessary because NSS has a caching bug. This
- // can be removed once http://crbug.com/238654 is fixed.
- base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(1));
-
scoped_ptr<base::DictionaryValue> onc =
test_utils::ReadTestDictionary(filename);
base::Value* certificates_value = NULL;
« no previous file with comments | « trunk/src/base/test/test_suite.cc ('k') | trunk/src/crypto/nss_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698