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 "chrome/browser/chromeos/policy/user_network_configuration_updater.h" | 5 #include "chrome/browser/chromeos/policy/user_network_configuration_updater.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
11 #include "chrome/browser/chrome_notification_types.h" | 11 #include "chrome/browser/chrome_notification_types.h" |
12 #include "chrome/browser/chromeos/login/user.h" | 12 #include "chrome/browser/chromeos/login/users/user.h" |
13 #include "chrome/browser/chromeos/net/onc_utils.h" | 13 #include "chrome/browser/chromeos/net/onc_utils.h" |
14 #include "chrome/browser/net/nss_context.h" | 14 #include "chrome/browser/net/nss_context.h" |
15 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
16 #include "chromeos/network/managed_network_configuration_handler.h" | 16 #include "chromeos/network/managed_network_configuration_handler.h" |
17 #include "chromeos/network/onc/onc_certificate_importer_impl.h" | 17 #include "chromeos/network/onc/onc_certificate_importer_impl.h" |
18 #include "content/public/browser/notification_source.h" | 18 #include "content/public/browser/notification_source.h" |
19 #include "net/cert/x509_certificate.h" | 19 #include "net/cert/x509_certificate.h" |
20 #include "policy/policy_constants.h" | 20 #include "policy/policy_constants.h" |
21 | 21 |
22 namespace { | 22 namespace { |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 pending_certificates_onc_.reset(); | 161 pending_certificates_onc_.reset(); |
162 } | 162 } |
163 | 163 |
164 void UserNetworkConfigurationUpdater::NotifyTrustAnchorsChanged() { | 164 void UserNetworkConfigurationUpdater::NotifyTrustAnchorsChanged() { |
165 FOR_EACH_OBSERVER(WebTrustedCertsObserver, | 165 FOR_EACH_OBSERVER(WebTrustedCertsObserver, |
166 observer_list_, | 166 observer_list_, |
167 OnTrustAnchorsChanged(web_trust_certs_)); | 167 OnTrustAnchorsChanged(web_trust_certs_)); |
168 } | 168 } |
169 | 169 |
170 } // namespace policy | 170 } // namespace policy |
OLD | NEW |