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

Side by Side Diff: chrome/browser/chromeos/policy/user_network_configuration_updater.cc

Issue 2442313003: Move some proxy config code out of src/chrome (Closed)
Patch Set: Fix DEPS Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
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 <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "chrome/browser/chrome_notification_types.h" 13 #include "chrome/browser/chrome_notification_types.h"
14 #include "chrome/browser/chromeos/net/onc_utils.h"
15 #include "chrome/browser/net/nss_context.h" 14 #include "chrome/browser/net/nss_context.h"
16 #include "chrome/browser/profiles/profile.h" 15 #include "chrome/browser/profiles/profile.h"
17 #include "chromeos/network/managed_network_configuration_handler.h" 16 #include "chromeos/network/managed_network_configuration_handler.h"
18 #include "chromeos/network/onc/onc_certificate_importer_impl.h" 17 #include "chromeos/network/onc/onc_certificate_importer_impl.h"
18 #include "chromeos/network/onc/onc_utils.h"
19 #include "components/policy/policy_constants.h" 19 #include "components/policy/policy_constants.h"
20 #include "components/user_manager/user.h" 20 #include "components/user_manager/user.h"
21 #include "content/public/browser/browser_thread.h" 21 #include "content/public/browser/browser_thread.h"
22 #include "content/public/browser/notification_source.h" 22 #include "content/public/browser/notification_source.h"
23 #include "net/cert/x509_certificate.h" 23 #include "net/cert/x509_certificate.h"
24 24
25 namespace policy { 25 namespace policy {
26 26
27 UserNetworkConfigurationUpdater::~UserNetworkConfigurationUpdater() {} 27 UserNetworkConfigurationUpdater::~UserNetworkConfigurationUpdater() {}
28 28
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 ImportCertificates(*pending_certificates_onc_); 154 ImportCertificates(*pending_certificates_onc_);
155 pending_certificates_onc_.reset(); 155 pending_certificates_onc_.reset();
156 } 156 }
157 157
158 void UserNetworkConfigurationUpdater::NotifyTrustAnchorsChanged() { 158 void UserNetworkConfigurationUpdater::NotifyTrustAnchorsChanged() {
159 for (auto& observer : observer_list_) 159 for (auto& observer : observer_list_)
160 observer.OnTrustAnchorsChanged(web_trust_certs_); 160 observer.OnTrustAnchorsChanged(web_trust_certs_);
161 } 161 }
162 162
163 } // namespace policy 163 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/options/wimax_config_view.cc ('k') | chrome/browser/chromeos/proxy_config_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698