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

Side by Side Diff: chromeos/network/client_cert_resolver.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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 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 #ifndef CHROMEOS_NETWORK_CLIENT_CERT_RESOLVER_H_ 5 #ifndef CHROMEOS_NETWORK_CLIENT_CERT_RESOLVER_H_
6 #define CHROMEOS_NETWORK_CLIENT_CERT_RESOLVER_H_ 6 #define CHROMEOS_NETWORK_CLIENT_CERT_RESOLVER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // ResolveRequestCompleted notification, even if the queue is empty. 103 // ResolveRequestCompleted notification, even if the queue is empty.
104 void ResolvePendingNetworks(); 104 void ResolvePendingNetworks();
105 105
106 // |matches| contains networks for which a matching certificate was found. 106 // |matches| contains networks for which a matching certificate was found.
107 // Configures these networks. 107 // Configures these networks.
108 void ConfigureCertificates(std::vector<NetworkAndMatchingCert>* matches); 108 void ConfigureCertificates(std::vector<NetworkAndMatchingCert>* matches);
109 109
110 // Trigger a ResolveRequestCompleted event on all observers. 110 // Trigger a ResolveRequestCompleted event on all observers.
111 void NotifyResolveRequestCompleted(); 111 void NotifyResolveRequestCompleted();
112 112
113 ObserverList<Observer> observers_; 113 base::ObserverList<Observer> observers_;
114 114
115 // The set of networks that were checked/resolved in previous passes. These 115 // The set of networks that were checked/resolved in previous passes. These
116 // networks are skipped in the NetworkListChanged notification. 116 // networks are skipped in the NetworkListChanged notification.
117 std::set<std::string> resolved_networks_; 117 std::set<std::string> resolved_networks_;
118 118
119 // The list of network paths that still have to be resolved. 119 // The list of network paths that still have to be resolved.
120 std::set<std::string> queued_networks_to_resolve_; 120 std::set<std::string> queued_networks_to_resolve_;
121 121
122 // True if currently a resolve task is running. 122 // True if currently a resolve task is running.
123 bool resolve_task_running_; 123 bool resolve_task_running_;
(...skipping 12 matching lines...) Expand all
136 scoped_refptr<base::TaskRunner> slow_task_runner_for_test_; 136 scoped_refptr<base::TaskRunner> slow_task_runner_for_test_;
137 137
138 base::WeakPtrFactory<ClientCertResolver> weak_ptr_factory_; 138 base::WeakPtrFactory<ClientCertResolver> weak_ptr_factory_;
139 139
140 DISALLOW_COPY_AND_ASSIGN(ClientCertResolver); 140 DISALLOW_COPY_AND_ASSIGN(ClientCertResolver);
141 }; 141 };
142 142
143 } // namespace chromeos 143 } // namespace chromeos
144 144
145 #endif // CHROMEOS_NETWORK_CLIENT_CERT_RESOLVER_H_ 145 #endif // CHROMEOS_NETWORK_CLIENT_CERT_RESOLVER_H_
OLDNEW
« no previous file with comments | « chromeos/login/login_state.h ('k') | chromeos/network/managed_network_configuration_handler_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698