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

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

Issue 1562593002: Fix potential crashes in NetworkHandler code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@test
Patch Set: IsShuttingDown -> OnShuttingDown Created 4 years, 11 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_NETWORK_CONFIGURATION_HANDLER_H_ 5 #ifndef CHROMEOS_NETWORK_NETWORK_CONFIGURATION_HANDLER_H_
6 #define CHROMEOS_NETWORK_NETWORK_CONFIGURATION_HANDLER_H_ 6 #define CHROMEOS_NETWORK_NETWORK_CONFIGURATION_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 // Signals the device handler to request an IP config refresh. 198 // Signals the device handler to request an IP config refresh.
199 void RequestRefreshIPConfigs(const std::string& service_path); 199 void RequestRefreshIPConfigs(const std::string& service_path);
200 200
201 // Unowned associated Network*Handlers (global or test instance). 201 // Unowned associated Network*Handlers (global or test instance).
202 NetworkStateHandler* network_state_handler_; 202 NetworkStateHandler* network_state_handler_;
203 NetworkDeviceHandler* network_device_handler_; 203 NetworkDeviceHandler* network_device_handler_;
204 204
205 // Map of in-progress deleter instances. Owned by this class. 205 // Map of in-progress deleter instances. Owned by this class.
206 std::map<std::string, ProfileEntryDeleter*> profile_entry_deleters_; 206 std::map<std::string, ProfileEntryDeleter*> profile_entry_deleters_;
207 207
208 base::ObserverList<NetworkConfigurationObserver> observers_; 208 base::ObserverList<NetworkConfigurationObserver, true> observers_;
209 209
210 DISALLOW_COPY_AND_ASSIGN(NetworkConfigurationHandler); 210 DISALLOW_COPY_AND_ASSIGN(NetworkConfigurationHandler);
211 }; 211 };
212 212
213 } // namespace chromeos 213 } // namespace chromeos
214 214
215 #endif // CHROMEOS_NETWORK_NETWORK_CONFIGURATION_HANDLER_H_ 215 #endif // CHROMEOS_NETWORK_NETWORK_CONFIGURATION_HANDLER_H_
OLDNEW
« no previous file with comments | « chromeos/network/managed_network_configuration_handler_impl.h ('k') | chromeos/network/network_connection_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698