OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chromeos/network/client_cert_resolver.h" | 5 #include "chromeos/network/client_cert_resolver.h" |
6 | 6 |
7 #include <cert.h> | 7 #include <cert.h> |
8 #include <certt.h> // for (SECCertUsageEnum) certUsageAnyCA | 8 #include <certt.h> // for (SECCertUsageEnum) certUsageAnyCA |
9 #include <pk11pub.h> | 9 #include <pk11pub.h> |
10 | 10 |
11 #include <algorithm> | 11 #include <algorithm> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/bind.h" | 14 #include "base/bind.h" |
15 #include "base/location.h" | 15 #include "base/location.h" |
16 #include "base/stl_util.h" | 16 #include "base/stl_util.h" |
17 #include "base/task_runner.h" | 17 #include "base/task_runner.h" |
18 #include "base/threading/worker_pool.h" | 18 #include "base/threading/worker_pool.h" |
19 #include "base/time/time.h" | |
20 #include "chromeos/cert_loader.h" | 19 #include "chromeos/cert_loader.h" |
21 #include "chromeos/dbus/dbus_thread_manager.h" | 20 #include "chromeos/dbus/dbus_thread_manager.h" |
22 #include "chromeos/dbus/shill_service_client.h" | 21 #include "chromeos/dbus/shill_service_client.h" |
23 #include "chromeos/network/managed_network_configuration_handler.h" | 22 #include "chromeos/network/managed_network_configuration_handler.h" |
24 #include "chromeos/network/network_state.h" | 23 #include "chromeos/network/network_state.h" |
25 #include "components/onc/onc_constants.h" | 24 #include "components/onc/onc_constants.h" |
26 #include "dbus/object_path.h" | 25 #include "dbus/object_path.h" |
27 #include "net/cert/scoped_nss_types.h" | 26 #include "net/cert/scoped_nss_types.h" |
28 #include "net/cert/x509_certificate.h" | 27 #include "net/cert/x509_certificate.h" |
29 | 28 |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 DBusThreadManager::Get()->GetShillServiceClient()-> | 441 DBusThreadManager::Get()->GetShillServiceClient()-> |
443 SetProperties(dbus::ObjectPath(it->service_path), | 442 SetProperties(dbus::ObjectPath(it->service_path), |
444 shill_properties, | 443 shill_properties, |
445 base::Bind(&base::DoNothing), | 444 base::Bind(&base::DoNothing), |
446 base::Bind(&LogError, it->service_path)); | 445 base::Bind(&LogError, it->service_path)); |
447 network_state_handler_->RequestUpdateForNetwork(it->service_path); | 446 network_state_handler_->RequestUpdateForNetwork(it->service_path); |
448 } | 447 } |
449 } | 448 } |
450 | 449 |
451 } // namespace chromeos | 450 } // namespace chromeos |
OLD | NEW |