Index: chromeos/network/network_cert_migrator.cc |
diff --git a/chromeos/network/network_cert_migrator.cc b/chromeos/network/network_cert_migrator.cc |
index 332e38d0ac015e181a9edca6396f2d29f22c4d99..cb9a4828cc8ed3bf084c69c1c3b17e9266ed08e6 100644 |
--- a/chromeos/network/network_cert_migrator.cc |
+++ b/chromeos/network/network_cert_migrator.cc |
@@ -17,6 +17,7 @@ |
#include "chromeos/network/network_state.h" |
#include "chromeos/network/network_state_handler.h" |
#include "dbus/object_path.h" |
+#include "net/cert/x509_certificate.h" |
#include "third_party/cros_system_api/dbus/service_constants.h" |
namespace chromeos { |
@@ -179,7 +180,7 @@ void NetworkCertMigrator::Init(NetworkStateHandler* network_state_handler) { |
} |
void NetworkCertMigrator::NetworkListChanged() { |
- if (!CertLoader::Get()->certificates_loaded()) { |
+ if (!CertLoader::Get()->initial_load_finished()) { |
VLOG(2) << "Certs not loaded yet."; |
return; |
} |